|
5 | 5 | <link href="https://learnbyexample.github.io/atom.xml" rel="self" type="application/atom+xml"/>
|
6 | 6 | <link href="https://learnbyexample.github.io"/>
|
7 | 7 | <generator uri="https://www.getzola.org/">Zola</generator>
|
8 |
| - <updated>2023-01-25T00:00:00+00:00</updated> |
| 8 | + <updated>2023-01-30T00:00:00+00:00</updated> |
9 | 9 | <id>https://learnbyexample.github.io/atom.xml</id>
|
| 10 | + <entry xml:lang="en"> |
| 11 | + <title>Understanding Python re(gex)? book announcement</title> |
| 12 | + <published>2023-01-30T00:00:00+00:00</published> |
| 13 | + <updated>2023-01-30T00:00:00+00:00</updated> |
| 14 | + <link rel="alternate" href="https://learnbyexample.github.io/understanding-python-regex-announcement/" type="text/html"/> |
| 15 | + <id>https://learnbyexample.github.io/understanding-python-regex-announcement/</id> |
| 16 | + <content type="html"><p>Hello!</p> |
| 17 | +<p>I just published a new version of &quot;<strong>Understanding Python re(gex)?</strong>&quot; ebook. I caught up to new features like possessive quantifiers, corrected many mistakes, improved examples, exercises and so on.</p> |
| 18 | +<p>This book will help you learn <strong>Python Regular Expressions</strong> step-by-step from beginner to advanced levels with <strong>hundreds of examples and exercises</strong>. The standard library <code>re</code> and the third-party <code>regex</code> module are covered in this book.</p> |
| 19 | +<span id="continue-reading"></span><br> |
| 20 | +<h2 id="release-offers">Release offers<a class="zola-anchor" href="#release-offers" aria-label="Anchor link for: release-offers">🔗</a></h2> |
| 21 | +<p>To celebrate the new release, you can download PDF/EPUB versions of <strong>Understanding Python re(gex)?</strong> for FREE till 05-Feb-2023. You can still pay if you wish ;)</p> |
| 22 | +<ul> |
| 23 | +<li><a href="https://learnbyexample.gumroad.com/l/py_regex">Gumroad</a></li> |
| 24 | +<li><a href="https://leanpub.com/py_regex/c/P7erPYAm1386">Leanpub</a></li> |
| 25 | +</ul> |
| 26 | +<p>Some of my ebook bundles are on sale as well:</p> |
| 27 | +<ul> |
| 28 | +<li><a href="https://learnbyexample.gumroad.com/l/all-books/pyregex_newrelease">All books bundle</a> is $10 (normal price $32) — all my 13 programming ebooks</li> |
| 29 | +<li><a href="https://learnbyexample.gumroad.com/l/python-bundle/pyregex_newrelease">Learn by example Python bundle</a> is $5 (normal price $16) — Intro, Regular expressions and Projects</li> |
| 30 | +</ul> |
| 31 | +<br> |
| 32 | +<h2 id="what-s-new">What's new?<a class="zola-anchor" href="#what-s-new" aria-label="Anchor link for: what-s-new">🔗</a></h2> |
| 33 | +<ul> |
| 34 | +<li>Python version updated to 3.11 |
| 35 | +<ul> |
| 36 | +<li>Possessive quantifiers and Atomic grouping are now supported by the <code>re</code> module</li> |
| 37 | +</ul> |
| 38 | +</li> |
| 39 | +<li><code>regex</code> module |
| 40 | +<ul> |
| 41 | +<li>corrected examples and descriptions for <code>\G</code> and <code>\K</code> features</li> |
| 42 | +<li>added railroad diagram for the recursive matching section</li> |
| 43 | +</ul> |
| 44 | +</li> |
| 45 | +<li>In general, many of the examples, exercises, solutions, descriptions and external links were updated/corrected</li> |
| 46 | +<li>Updated Acknowledgements section</li> |
| 47 | +<li>Code snippets related to info/warning sections will now appear as a single block</li> |
| 48 | +<li>New section added for <a href="https://github.com/learnbyexample/TUI-apps/tree/main/PyRegexPlayground">re(gex)? playground</a></li> |
| 49 | +<li>Book title changed to <strong>Understanding Python re(gex)?</strong></li> |
| 50 | +<li>New cover image</li> |
| 51 | +<li>Images centered for EPUB format</li> |
| 52 | +</ul> |
| 53 | +<br> |
| 54 | +<h2 id="videos">Videos<a class="zola-anchor" href="#videos" aria-label="Anchor link for: videos">🔗</a></h2> |
| 55 | +<p align="center"><iframe width="560" height="315" loading="lazy" src="https://www.youtube.com/embed/2x2n7ynamm8" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p> |
| 56 | +<p>On this blog, I <a href="https://learnbyexample.github.io/tips/">post tips</a> covering Python, command line tools and Vim. Here are video demos for these tips:</p> |
| 57 | +<ul> |
| 58 | +<li><a href="https://www.youtube.com/watch?v=THSMmCZQn1A&amp;list=PLTv2U3HnAL4PlFDiH3FXTHXRbhWs2sB3F">Python tips</a></li> |
| 59 | +<li><a href="https://www.youtube.com/watch?v=p0KCLusMd5Q&amp;list=PLTv2U3HnAL4PNTmRqZBSUgKaiHbRL2zeY">Linux command line tips</a></li> |
| 60 | +</ul> |
| 61 | +<br> |
| 62 | +<h2 id="table-of-contents">Table of Contents<a class="zola-anchor" href="#table-of-contents" aria-label="Anchor link for: table-of-contents">🔗</a></h2> |
| 63 | +<ol> |
| 64 | +<li>Preface</li> |
| 65 | +<li>Why is it needed?</li> |
| 66 | +<li>re introduction</li> |
| 67 | +<li>Anchors</li> |
| 68 | +<li>Alternation and Grouping</li> |
| 69 | +<li>Escaping metacharacters</li> |
| 70 | +<li>Dot metacharacter and Quantifiers</li> |
| 71 | +<li>Interlude: Tools for debugging and visualization</li> |
| 72 | +<li>Working with matched portions</li> |
| 73 | +<li>Character class</li> |
| 74 | +<li>Groupings and backreferences</li> |
| 75 | +<li>Interlude: Common tasks</li> |
| 76 | +<li>Lookarounds</li> |
| 77 | +<li>Flags</li> |
| 78 | +<li>Unicode</li> |
| 79 | +<li>regex module</li> |
| 80 | +<li>Gotchas</li> |
| 81 | +<li>Further Reading</li> |
| 82 | +</ol> |
| 83 | +<br> |
| 84 | +<h2 id="web-version">Web version<a class="zola-anchor" href="#web-version" aria-label="Anchor link for: web-version">🔗</a></h2> |
| 85 | +<p>You can also read the book online here: <a href="https://learnbyexample.github.io/py_regular_expressions/">https://learnbyexample.github.io/py_regular_expressions/</a>.</p> |
| 86 | +<br> |
| 87 | +<h2 id="github-repo">GitHub repo<a class="zola-anchor" href="#github-repo" aria-label="Anchor link for: github-repo">🔗</a></h2> |
| 88 | +<p>Visit <a href="https://github.com/learnbyexample/py_regular_expressions">https://github.com/learnbyexample/py_regular_expressions</a> for markdown source, example files, exercise solutions, sample chapters and other details related to the book.</p> |
| 89 | +<br> |
| 90 | +<h2 id="newsletter">Newsletter<a class="zola-anchor" href="#newsletter" aria-label="Anchor link for: newsletter">🔗</a></h2> |
| 91 | +<p>Subscribe to <a href="https://learnbyexample.gumroad.com/l/learnbyexample-weekly">learnbyexample weekly</a> — free newsletter covering programming resources, updates on what I am creating, tips, tools, free ebooks and more, delivered every Friday.</p> |
| 92 | +<br> |
| 93 | +<h2 id="feedback-and-errata">Feedback and Errata<a class="zola-anchor" href="#feedback-and-errata" aria-label="Anchor link for: feedback-and-errata">🔗</a></h2> |
| 94 | +<p>I would highly appreciate if you'd <strong>let me know how you felt about this book</strong>. It could be anything from a simple thank you, Gumroad rating, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.</p> |
| 95 | +<p>You can reach me via:</p> |
| 96 | +<ul> |
| 97 | +<li>Issue Manager: <a href="https://github.com/learnbyexample/py_regular_expressions/issues">https://github.com/learnbyexample/py_regular_expressions/issues</a></li> |
| 98 | +<li>E-mail: <code>learn by [email protected]</code> (without the spaces)</li> |
| 99 | +<li>Twitter: <a href="https://twitter.com/learn_byexample">https://twitter.com/learn_byexample</a></li> |
| 100 | +</ul> |
| 101 | +<p>Happy learning :)</p> |
| 102 | +</content> |
| 103 | + </entry> |
10 | 104 | <entry xml:lang="en">
|
11 | 105 | <title>CLI tip 22: grep options to suppress stdout and stderr</title>
|
12 | 106 | <published>2023-01-25T00:00:00+00:00</published>
|
|
1614 | 1708 | <entry xml:lang="en">
|
1615 | 1709 | <title>Programming ebooks by Sundeep Agarwal</title>
|
1616 | 1710 | <published>2022-08-09T00:00:00+00:00</published>
|
1617 |
| - <updated>2022-11-01T00:00:00+00:00</updated> |
| 1711 | + <updated>2023-01-30T00:00:00+00:00</updated> |
1618 | 1712 | <link rel="alternate" href="https://learnbyexample.github.io/books/" type="text/html"/>
|
1619 | 1713 | <id>https://learnbyexample.github.io/books/</id>
|
1620 | 1714 | <content type="html"><p>This post lists my programming ebooks with details like PDF/EPUB purchase links, GitHub repos, web versions, testimonials, etc. All my ebooks are self-published. You can get these ebooks individually or as part of bundles. You can also read them online for free.</p>
|
|
1654 | 1748 | <ul>
|
1655 | 1749 | <li><a href="https://leanpub.com/b/theindiepythonextravaganza">The Indie Python Extravaganza</a>
|
1656 | 1750 | <ul>
|
1657 |
| -<li>Python re(gex)?, Practice Python Projects (my books)</li> |
| 1751 | +<li>Understanding Python re(gex)?, Practice Python Projects (my books)</li> |
1658 | 1752 | <li>Python 101, Pydon'ts, Clean Architectures in Python (authored by others)</li>
|
1659 | 1753 | </ul>
|
1660 | 1754 | </li>
|
1661 |
| -<li><a href="https://leanpub.com/b/python101pythonregex">Python 101 + Python re(gex)?</a> and <a href="https://leanpub.com/b/python201_and_regex">Python 201: Intermediate Python + Python re(gex)?</a> |
| 1755 | +<li><a href="https://leanpub.com/b/python101pythonregex">Python 101 + Understanding Python re(gex)?</a> and <a href="https://leanpub.com/b/python201_and_regex">Python 201: Intermediate Python + Understanding Python re(gex)?</a> |
1662 | 1756 | <ul>
|
1663 | 1757 | <li>Python 101/201 is authored by <a href="https://www.blog.pythonlibrary.org/">Michael Driscoll</a></li>
|
1664 | 1758 | </ul>
|
|
1720 | 1814 | <li>Feedback: <a href="https://twitter.com/learn_byexample">Twitter</a></li>
|
1721 | 1815 | </ul>
|
1722 | 1816 | <br>
|
1723 |
| -<h1 id="python-re-gex"><p style="color: #ff9933">Python re(gex)?</h1> |
1724 |
| -<p>Learn Python Regular Expressions step by step from beginner to advanced levels with 200+ examples. Both <code>re</code> and <code>regex</code> modules are covered. Exercises are also included to test your understanding.</p> |
1725 |
| -<p align="center"><img src="/images/books/pyregex.png" alt="Python re(gex)? cover image" loading="lazy" /></p> |
| 1817 | +<h1 id="understanding-python-re-gex"><p style="color: #ff9933">Understanding Python re(gex)?</h1> |
| 1818 | +<p>Learn Python Regular Expressions step-by-step from beginner to advanced levels with 300+ examples. Both <code>re</code> and <code>regex</code> modules are covered. Exercises are also included to test your understanding.</p> |
| 1819 | +<p align="center"><img src="https://learnbyexample.github.io/py_regular_expressions/images/py_regex.png" width="397px" height="562px" alt="Understanding Python re(gex)? cover image" loading="lazy" /></p> |
1726 | 1820 | <ul>
|
1727 |
| -<li><a href="https://github.com/learnbyexample/py_regular_expressions/blob/master/sample_chapters/Python_Regex_sample.pdf">Sample chapters</a></li> |
| 1821 | +<li><a href="https://github.com/learnbyexample/py_regular_expressions/blob/master/sample_chapters/py_regex_sample.pdf">Sample chapters</a></li> |
1728 | 1822 | <li>Buy pdf/epub from:
|
1729 | 1823 | <ul>
|
1730 | 1824 | <li><a href="https://learnbyexample.gumroad.com/l/py_regex">gumroad</a></li>
|
|
0 commit comments