Ben Gotow 2020-04-19 17:46:41 -05:00
parent bc8cd5670d
commit fa71b5d6b1

View file

@ -164,9 +164,10 @@ const RegExpUtils = {
// (last character must not be puncation, hence two groups) // (last character must not be puncation, hence two groups)
'(?:[\\+=~%\\/\\.\\w\\-_@]*[\\+~%\\/\\w\\-:_])?', '(?:[\\+=~%\\/\\.\\w\\-_@]*[\\+~%\\/\\w\\-:_])?',
// optionally followed by: a query string and/or a #location // optionally followed by one or more query string ?asd=asd&as=asd type sections
// (last character must not be puncation, hence two groups) "(?:\\?[\\-\\+=&;:%@$\\(\\)'\\*\\/~\\!\\.,\\w_]*[\\-\\+=&;~%@\\w_\\/])*",
"(?:\\?[\\-\\+=&;:%@$\\(\\)'\\*\\/~\\!\\.,\\w_]*[\\-\\+=&;~%@\\w_\\/])?",
// optionally followed by a #search-or-hash section
"(?:#['\\$\\&\\(\\)\\*\\+,;=\\.\\!\\/\\\\\\w%-?]*[\\/\\\\\\w])?", "(?:#['\\$\\&\\(\\)\\*\\+,;=\\.\\!\\/\\\\\\w%-?]*[\\/\\\\\\w])?",
')?', ')?',
')', ')',