(PDB-830) Regexp array operator is too greedy

This changes the regular expression, and moves the delimiter lookahead guard
so it is only introduced when a wildcard/style search is introduced.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #1055 from kbarber/ticket/master/pdb-830-regexp-array-operator-is-too-greedy

(PDB-830) Regexp array operator is too greedy