Hi Gwalchmai,
You have to use word boundary or any anchors to match the exact word. For example,
/\b$term\b/Also take a look at perlre to know more about word boundary and anchors '^', '\A', '\Z' and '$'.
Prasad
In reply to Re: Exact Word Search While Using \Q & \E
by prasadbabu
in thread Exact Word Search While Using \Q & \E
by Gwalchmai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |