Post thumbnail of Python Regular Expression Syntax
14 January 2010
Continue reading Python Regular Expression Syntax

Python Regular Expression Syntax

You can use regular expressions in python by using the “re” module. Both patterns and strings to be searched can be Unicode strings as well as 8-bit strings. Most of the regex module functions don’t force you to compile a regex object first, which I rarely do. You can easily use regular expressions by placing them inside python’s raw string notation using apostrophes.

Post thumbnail of Looping over a range in bash
7 April 2009
Continue reading Looping over a range in bash

Looping over a range in bash

I don’t know why I always forget how to do ranges, but I do. I guess it has something to do with the fact that I don’t expect it to be like C at all, and I don’t need to use it often enough to remember.

Powered by Wordpress   |   Lunated designed by ZenVerse