Correct match test documentation (#50229)

Match test matches zero or more characters at the begining of the string.

Fixes: #32366

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/50286/head
Abhijeet Kasurde 6 years ago committed by Sandra McCann
parent fc5ea7c999
commit 14eba662c8

@ -0,0 +1,2 @@
minor_changes:
- Fix documentation of match test. Match requires zero or more characters at beginning of the string.

@ -59,7 +59,7 @@ To match strings against a substring or a regular expression, use the "match", "
msg: "matched pattern 4"
when: url is regex("example.com/\w+/foo")
'match' requires a complete match in the string, while 'search' only requires matching a subset of the string.
'match' requires zero or more characters at the beginning of the string, while 'search' only requires matching a subset of the string.
.. _testing_versions:

Loading…
Cancel
Save