my( $word, $guinea ) = /(\w+)?\s*\b(Guinea)\b/; if( $word eq ucfirst $word ){ warn "Not the Guinea I want ($word $guinea)"; }
In reply to Re^2: Matching Exact Word
by Anonymous Monk
in thread Matching a Word Exactly
by GuiPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |