[Haskell-cafe] A weird bug of regex-pcre

Rico Moorman rico.moorman at gmail.com
Tue Dec 18 15:11:45 CET 2012


>
>         regex = "<table\\s+class=\"sourceCode[^>]+>.*?</table>"-
>

And mind the sneaky single "-" ... it doe not belong there ;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121218/7eb7acf1/attachment.htm>


More information about the Haskell-Cafe mailing list