On 11 April 2018 at 01:24, Stephen Satchell <l...@satchell.net> wrote:
> The | operator is supposed to bind to a single token before and after. > Not true - at least for pcre. Just enclose the entire expression in brackets: /^Subject:\s*(Hello there|Hey man)/ DISCARD (However Viktor's suggestion is more flexible/extendable.)