Even this (they finally fixed the nested regex problem)
s/(<p>(?:(?!<\/p>).)*<\/p>)(??{$1 !~ m#\n\n# and '(*FAIL)'})/-->$1<--/ +gs;
In reply to Re^2: regex exercise
by Anonymous Monk
in thread regex exercise
by Cilice
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |