Output:$var = "abXaaabbbc" ; $var =~ s/(..)X(??{"[$1]+"})/${1}#/ ; print "$var\n" ;
ab#c
Graciliano M. P.
"Creativity is the expression of the liberty".
In reply to Re^3: \1, \2, \3, ... inside of a character class
by gmpassos
in thread \1, \2, \3, ... inside of a character class
by ccn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |