[Haskell-cafe] Non-greedy match in Text.Regx.Posix
roma at ro-che.info
Tue Jul 17 13:35:40 CEST 2012
* C K Kashyap <ckkashyap at gmail.com> [2012-07-17 13:31:05+0530]
> 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?
POSIX regular expressions semantics doesn't have a notion of a
Use an engine that implements Perl semantics if you need one.
Refer to  for more detail.
Roman I. Cheplyaka :: http://ro-che.info/
More information about the Haskell-Cafe