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