Otherwise, you'd match stuff like "cowardly" and "pigheaded" ;)$text =~ s/\b(dog|cat|fox|cow|pig)\b/\n$1/g;
In reply to Re^2: Understanding alternation
by McDarren
in thread Understanding alternation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |