When recompiling a regexp using \p the recompiled RegExp is incorrect
our ( $q, $myre );
BEGIN { $q = qr[\p{IsWord}] }
eval q/$myre = qr[^$q]/; # add ^ to force the RegExp to be recompiled
print qq[match ok\n] if q[hello] =~ $myre;
The compiled version output nothing (no segfault) whereas we should expect match ok output
tested with HEAD @ 5f74704e4e03d7130d2fafb4cce9f3575e4b8bf9
When recompiling a regexp using \p the recompiled RegExp is incorrect
The compiled version output nothing (no segfault) whereas we should expect
match ok
outputtested with HEAD @ 5f74704e4e03d7130d2fafb4cce9f3575e4b8bf9