[Haskell-cafe] JRegex on "large" input sizes

Gregory Woodhouse gregory.woodhouse at sbcglobal.net
Sat Jul 1 16:57:25 EDT 2006


On Jul 1, 2006, at 6:27 AM, David House wrote:

> Hi all. I need a decent regex library and JRegex seems the perfect
> choice: simple API, yet well-featured, as well as PCRE support. I want
> to use it on a simple project which involves input files a little
> larger than typical -- between 100KB and 500KB -- but still small
> enough so as to not present a problem.
>
> However, and I'm fairly sure JRegex is at fault here, my program
> segfaults on an input of ~230KB. Has anyone used JRegex successfully
> in this way before? If so, what tactics did you use?
>
> Thanks in advance.

I have no idea how JRegex works, but regular expressions are normally  
implemented using finite automata, so the input size should be  
immaterial.

Gregory Woodhouse
gregory.woodhouse at sbcglobal.net

"Judge a man by his questions not
his answers."   --Voltaire



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/haskell-cafe/attachments/20060701/6928f785/attachment-0001.htm


More information about the Haskell-Cafe mailing list