[ansible-project] match() documentation bug?

2015-02-25 Thread Nusenu
Hi, I'd say the documentation [1] for match() is not entirely clear: ‘match’ will require a complete match in the string, while ‘search’ will require a match inside of the string. after reading this I wouldn't expect that abc|match(a) is true. I run this on ansible 1.8.2: vars: input:

Re: [ansible-project] match() documentation bug?

2015-02-25 Thread Chris Church
The Python docs for match vs. search also use wording similar to what you've suggested: https://docs.python.org/library/re.html#search-vs-match You're welcome to submit a pull request for this change to the docs. On Wed, Feb 25, 2015 at 2:09 PM, Nusenu nus...@openmailbox.org wrote: Hi,