Re: [Haskell-cafe] [haskell-cafe] Non-greedy match in Text.Regx.Posix
18 Jul
2012
18 Jul
'12
12:38 a.m.
I was exploring Text.Regex.Posix and found that I was not able to do a non-greedy match by modifying the quantifier with a "?". How can I achieve non-greedy match in Text.Regex.Posix?
If it's Posix, it is greedy. Successive submatches are as long as possible subject to the constraint that a longest possible overall match be found if such exists. Doug McIlroy
4932
Age (days ago)
4932
Last active (days ago)
0 comments
1 participants
participants (1)
-
Doug McIlroy