Discussion

Show HN: I wrote a book on Python regular expressions

My book titled "Python re(gex)?" is free to download through this weekend [1][2]

The book covers both 're' and 'regex' modules, has plenty of examples and chapters also have cheatsheets and exercises.

Code snippets, exercises, sample chapters, etc are available on GitHub repo [3]

I used pandoc+xelatex [4] to generate the pdf.

[1] https://gumroad.com/l/py_regex

[2] https://leanpub.com/py_regex

[3] https://github.com/learnbyexample/py_regular_expressions

[4] https://learnbyexample.github.io/tutorial/ebook-generation/customizing-pandoc/

193 points asicsp 7 years ago 50 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton