BUG/MINOR: sample: Make the `word` converter compatible with `-m found`

Previously an expression like:

    path,word(2,/) -m found

always returned `true`.

Bug exists since the `word` converter exists. That is:
c9a0f6d0232cf44d6b08d1964b9097a45a6c65f0

The same bug was previously fixed for the `field` converter in commit
4381d26edc03faa46401eb0fe82fd7be84be14fd.

The fix should be backported to 1.6+.

(cherry picked from commit 1dcc6a8a969893057e56d4eba089a538619c72c2)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit c5d7dcfd99cb3ded0c05225e7c916550e4a1e571)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 77aa62d9045b20a4add95ae246b79340a77c8d0f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit d853846d955b3b123523739c874337c6ba955194)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
2 files changed