match() documentation bug?

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: abc
  tasks:
  - shell: msg="abc matches a?"
    when: input|match("a")

  - shell: msg="abc matches ^a$?"
    when: input|match("^a$")

  - shell: msg="abc matches b?"
    when: input|match("b")

A better wording of the current behaviour would be:

"‘match’ will require a complete match at the beginning of the string"

[1] http://docs.ansible.com/playbooks_variables.html