Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
irahul
on Sept 3, 2013
|
parent
|
context
|
favorite
| on:
I don't know Regex
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: