http://www.perlmonks.org?node_id=233011


in reply to Re: A complex recursive regex,help
in thread A complex recursive regex,help

Hi Tachyon ,

my $a = "x|xx|xx|xxxx|xx|xxx|xx|xx|x"; $a =~ s/(?<=\|)xx(?=\|)/x x/g; print "[$a]\n";


This is the backward and forward assertions that I needed ,man , I have to learn more on this ,man THANKS A BUNCH Tachyonfor the help