N
nicolas_laurent545
This is my regular expression
s/(boy|girl)s/$1z/;
The $1 parameter will remember whichever word matches
Question:
How to make perl remember the last part s
(s) is a matching that has been replaced by z.
The purpose is to create output
Boys --- boyz
Girls -- girlz
Thanks
s/(boy|girl)s/$1z/;
The $1 parameter will remember whichever word matches
Question:
How to make perl remember the last part s
(s) is a matching that has been replaced by z.
The purpose is to create output
Boys --- boyz
Girls -- girlz
Thanks