diff --git a/src/regexp-utils.coffee b/src/regexp-utils.coffee index f9c0bf92d..4de1817a8 100644 --- a/src/regexp-utils.coffee +++ b/src/regexp-utils.coffee @@ -101,7 +101,7 @@ RegExpUtils = # optionally followed by: a query string and/or a #location # (last character must not be puncation, hence two groups) - '(?:(\\?[\\-\\+=&;%@\\.\\w_]*[\\-\\+=&;%@\\w_\\/]+)?#?(?:[\'\\$\\&\\(\\)\\*\\+,;=\\.\\!\\/\\\\\\w%-]*[\\/\\\\\\w]+)?)?' + '(?:(\\?[\\-\\+=&;%@\\.\\w_\\#]*[\\#\\-\\+=&;%@\\w_\\/]+)?#?(?:[\'\\$\\&\\(\\)\\*\\+,;=\\.\\!\\/\\\\\\w%-]*[\\/\\\\\\w]+)?)?' ')?' ')' ]