Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #6466
| From | Roy Smith <roy@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Why did Quora choose Python for its development? |
| Date | 2011-05-28 08:37 -0400 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <roy-935A1D.08371028052011@news.panix.com> (permalink) |
| References | <fbd69b90-b709-48ed-a247-af943ddbccef@glegroupsg2000goo.googlegroups.com> |
In article <fbd69b90-b709-48ed-a247-af943ddbccef@glegroupsg2000goo.googlegroups.com >, Carl Banks <pavlovevidence@gmail.com> wrote: > On Friday, May 27, 2011 6:47:21 AM UTC-7, Roy Smith wrote: > > One of the truly awesome things about the Python re library is that it > > lets you write complex regexes like this: > > > > pattern = r"""\b # beginning of line > > (?P<word>\w+) # a word > > \s+ # some whitespace > > (?P=word)(?!\w) # the same word again > > """ > > Perl has the X flag as well, in fact I'm pretty sure Perl originated it. > Just saying. Heh. Didn't know that. I wish people would use it more.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Why did Quora choose Python for its development? Carl Banks <pavlovevidence@gmail.com> - 2011-05-27 22:32 -0700 Re: Why did Quora choose Python for its development? Roy Smith <roy@panix.com> - 2011-05-28 08:37 -0400
csiph-web