News for hackers. Stuff that matters.
Re:I don't know Regex by irahul on Tuesday September 03, 2013 @04:46AM (#6319795)
Yes. If you are going for equivalent, this would be it:

  pat = re.compile(r'^ [a-z] [a-z0-9]* @ [a-z]+ \. [a-z]+ $', re.I | re.X)
I took a few liberties in crafting the reduction.

There are no comments on this comment yet.