[darcs-users] checking Text.Regex... buggy! ??

Jan Scheffczyk jan at informatik.unibw-muenchen.de
Fri Nov 28 14:28:16 UTC 2003


Hi David,

> Versions of Text.Regex in ghc prior to 6.2 have a bug that causes them to
> segfault.  The configure script runs a test program and if it crashes it
> uses the module RegexString instead.

do you know what kind of expressions cause this seg fault?

I looked at the configure script, but your regular expressions seem to be pure 
numbers:

regexen = map r [1..100]
          where r n = mkRegex $ concat $ map show [0..n]


Thanks a lot,
Jan





More information about the darcs-users mailing list