On Sun, Jan 11, 2015 at 8:28 AM, Roméo Capulet <p-pionee...@gmx.fr> wrote:
> I got a segmentation fault when I try to match a very long pattern on a
> file:
> $ grep -Po 'jQuery\.extend\(Drupal\.settings,[ \t]*\{((?!\}\}\)).)+\}\}\);'
> /tmp/pattern-exemple.txt
> Erreur de segmentation
>
> the grep version : grep (GNU grep) 2.16

Thank you for the complete bug report.
That appears to be due to a bug in the version of libpcre that your
version of grep uses.
Using the latest release, grep-2.21 with newer pcre, that example no
longer causes trouble.

Since this issue appears not to affect the latest version, I'm marking
this ticket as "done".



Reply via email to