View Single Post
Old 05-23-2009, 02:34 PM   #9
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,450
Karma: 10484861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Quote:
Originally Posted by rogue_ronin View Post
? is the "ungreedy" character. match would end before the second _ character.

m a r
Sorry for not recognizing an ungreedy quantifier *? in Perl syntax.

My favorite tool for working with text using regular expressions is gvim.
gvim alone has 4 (yes, that is FOUR) different syntaxes for writing Regular expressions (and you can combine all four in a single RE, using flags (Magic, NonMagic, VeryMagic, and VeryNonMagic)

The nice thing about standards is that there are so many to choose from.
kacir is offline   Reply With Quote