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@sbcglobal.net

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