Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Matching a long list of phrases

by Sartak (Hermit)
on Aug 14, 2006 at 17:40 UTC ( [id://567291] : note . print w/replies, xml ) Need Help??


in reply to Re: Matching a long list of phrases
in thread Matching a long list of phrases

The problem with this approach is that the incoming text may have extra text. Say one of the phrases was "Perl hacker". The OP wants to match "Just another Perl hacker," with the phrase "Perl hacker"