in reply to regexp causes segfault
This will do it, but may be slow when failing:
/'(?:[^\\']*(?:\\.|'' )?)*'/
I think the slow failure mode can be overcome with a cut operator:
Hugo/'(?:(?>[^\\']*)(?:\\.|'' )?)*'/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: regexp causes segfault
by hv (Prior) on Mar 06, 2003 at 01:36 UTC |