iContainsWord does not exclude whitespace when matching #254
Comments
Originally posted by Jason Cahoon. a fix for this is available in geb pull request #43 from [this commit|https://github.com/measlyweasel/geb/commit/be47f0314dfc9431665ea4bd358410760442889b] |
Originally posted by Marcin Erdmann. Fixed in geb/geb@be47f03, thanks Jason. |
Resolved |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
http://markmail.org/message/4mbdvhfahlltbw6y
Marcin Erdmann
"From a quick peak at the code I can tell that there is a bug around how the matchers are being created ($ and ^ are swapped)."
Also looking at the code, I noticed containsWord() also uses a similar pattern ($ and ^ ordering)
The text was updated successfully, but these errors were encountered: