in reply to phrase match
For a larger dataset, or if \b doesn't quite work for you, take a look at Regexp::Assemble, which will both build you a more efficient regex and provide the anchor_word_begin and anchor_word_end settings, which may or may not deal more effectively with your "only match complete items" requirement.
|
|---|