This will do it, but may be slow when failing:
/'(?:[^\\']*(?:\\.|'' )?)*'/
I think the slow failure mode can be overcome with a cut operator:
Hugo/'(?:(?>[^\\']*)(?:\\.|'' )?)*'/
In reply to Re: regexp causes segfault
by hv
in thread regexp causes segfault
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |