extracting a pattern using RE

Fernando Pérez fperez528 at yahoo.com
Wed Nov 28 17:31:25 EST 2001


Peoter Veliki wrote:

> 
> In perl you can use variables within regular expressions to extract
> patterns, something like this:
> 

[snip]

See

http://py-howto.sourceforge.net/regex/regex.html

I come from a Perl regexp background, and I use this so much that I 
keep a local copy in my hard disk. The pure regexp syntax is 
basically perl, but their usage is different enough that while you 
shift mental gears this document will be a life saver.

cheers,

f



More information about the Python-list mailing list