python regular expressions
24 Aug
2002
24 Aug
'02
1:37 a.m.
Hi All,
I'm starting to learn python. I was looking for a python equivalent to a perl regular expression such as
$_ = "FreeBSD"; /(.*)BSD/;
where $1 would get what ever is between '(...)', 'Free' in this case.
Is there a way i can make use of the () regex operator in python? I can't seem to find an equivalent in python's regex module (re).
Thanks, --brad
7874
Age (days ago)
7878
Last active (days ago)
5 comments
3 participants
participants (3)
-
Brad Noyes
-
Frank Sweetser
-
Phillip G Deneault