use 5.010; # re features use strict; use warnings; #for ('abcdef') { # m{ # (?(DEFINE) # (?<x> # ( . ) ( . ) # (?{ '...' }) # ) # (?<y> # ( . ) ( . ) # (?{ print("(???,$^N)") }) # ) # (?<z> # ( . ) ( . ) # (?{ '...' }) # ) # ) # # (?&y)+ # }x; #} print "(a,b)(c,d)(e,f)"; print("\n");
In reply to Re: \g{-2} for inside (?{ ... })
by Petras
in thread \g{-2} for inside (?{ ... })
by ikegami
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |