'XZ' =~ / ^ (?: X (?{ print "X" }) Y (?{ print "Y" }) | X (?{ print "X" }) Z (?{ print "Z" }) ) \z /x; print("\n");
XXZ
In reply to Re^3: Parse::RecDescent matching same line twice
by ikegami
in thread Parse::RecDescent matching same line twice
by kudra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |