(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>