Python 2.7 regular expression cheatsheet

Couldn’t find one of these, so I whipped one up.

Bit of restructured text:

https://github.com/tartley/python-regex-cheatsheet/blob/master/cheatsheet.rst

Install some Python packages:

https://github.com/tartley/python-regex-cheatsheet/blob/master/requirements.txt

Invoke rst2pdf:

https://github.com/tartley/python-regex-cheatsheet/blob/master/Makefile

Get a nice PDF out:

Python 2.7 regular expression cheatsheet (click this link or the image for the most up-to-date PDF from github.)

4 thoughts on “Python 2.7 regular expression cheatsheet

  1. Pingback: Frattanto nella blogosfera #38 « Ok, panico

  2. A million thank you’s for REGEX cheatsheet. Better than Restoril. no side affects! LOL I am the poor fool who has to crawl into a thankless job and look at Microshit media…yuk

  3. Pingback: Python 2.7 regular expression cheatsheet | tartley.com | timcoleman3d

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>