added parens to url path+query charset (new var)

Added var pathchars @ line 20. Adds parens to urlchars.
Changed regexp to use pathchars instead of urlchars @ line30. It now allows parens in path+query.