e7d4db
clean up regexes a bit .*\s* is equivalent to .* which doesn't seem to be intended (?:.*\s+)? will match the empty string, or arbitrary space-separated prefixes