[Linux] Regular expressions
Nick Simicich
njs@scifi.squawk.com
Thu, 12 Oct 2000 21:07:58 -0400
At 06:58 AM 10/12/2000 -0400, Nick Seidenman wrote:
>On Thu, 12 Oct 2000, Tim Jones wrote:
>
>> Regular expressions are also useful in Python
>> (see the 're', 'regex', 'regsub' modules),
>
>Since Tim brought it up, the re module supports both perl and emacs
>regular expression semantics.
Huh? I thought that re module was perl, the regex module was emacs. Heck,
you just mentioned this to me.
All that stuff just hidden away in modules. :-)
Is r"\x" new syntax as well? I see that the regex doc goes around the
world telling you when a backslash escapes something and when it doesn't so
you know when you have to double and when not, while the re doc just tells
you to use r"\x".
--
We will fight for bovine freedom, And hold our large heads high.
We will run free, with the buffalo or die! Cows with Guns.
- Dana Lyons, Cows With Guns
Nick Simicich mailto:njs@scifi.squawk.com
http://scifi.squawk.com/njs.html -- Stop by and Light Up The World!