http://www.perlmonks.org?node_id=595974


in reply to Regular Expressions Tutorial, the Basics (for BEGINNERS)

s/bru*s/brus/

will also change brs to brus and abbrs to abbrus.

You might want to touch on unintended matches.

--Solo

--
You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.