in reply to regex causing segmentation fault (core dump)

Simplify the RE perhaps? I think you're running afoul of the pathology mentioned in this article.

  • Comment on Re: regex causing segmentation fault (core dump)

Replies are listed 'Best First'.
Re^2: regex causing segmentation fault (core dump)
by Otogi (Beadle) on Mar 30, 2006 at 23:37 UTC
    I tried every version of regex (possible) that will match and tweaked it even thought it didnt make any sense to see what happens. It began to look like it has cursed numbers or something. I am currently applying that code mentioned in the article to see if it fixes it.