On Nov 11, 2011, at 9:12 AM, annet wrote:

> Thanks for your reply. What do you mean by anchoring the search?

In a regular expression, ^ matches the beginning of the string, and $ matches 
the end; I'm referring to those as anchors. So ^xyz$ matches only "xyz", but 
the pattern xyz matches (for example) abcxyzdef. 

IS_MATCH is a little confusing in this regard, because it has some options for 
automatically anchoring the search, and those options are a little different in 
the trunk than in stable. But if you want an anchored search, it never hurts to 
make it explicit with ^ and/or $.

Reply via email to