Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
iContainsWord does not exclude whitespace when matching #254
Originally created by Chung B.
When trying to use iContainsWord('Text') against a string such as ' Text', iContainsWord does not return results by ignoring whitespace.
From the mailing list:
Also looking at the code, I noticed containsWord() also uses a similar pattern ($ and ^ ordering)