Am 08.04.2016 um 14:02 schrieb Robert Boyl:
Hi, everyone!

Sorry, lame with regex.

How can I make a rule to catch:

Need to buy a product ?

And also catch "need to buy a product    ?"

Note the extra spacing.

Tried this, didnt work:

describe TEST123    test
body     TEST123        /\bNeed to buy products *\?\b/i
score    TEST123 0.0

If possible, also make it catch if more than 1 question mark :)

/.*need to buy products.*\?.*/i

.* = any chars independent how often
so it's basically "anything which contains the text followed by a ?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to