I used \w for matching so that any grouping of "word characters" followed by "ing" are replaced.$example=~s/\w+ing\b/pudding/g;
In reply to Re: Matching 'words' in a string based on a suffix
by mr.nick
in thread Matching 'words' in a string based on a suffix
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |