Skip to content

Commit

Permalink
Merge pull request #21 from citrus-it/hash
Browse files Browse the repository at this point in the history
A URL hash can contain a !
  • Loading branch information
matt-fidd authored Feb 13, 2022
2 parents 8adc442 + 828880f commit 4f9d774
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const nick_col_override = {
jinni: 'bot',
};

const u_char = '[\\-;:&=~\\.\\+\\$,\\w]';
const u_hchar = '[/\\-;:&=~\\.\\+\\$,\\w]';
const u_char = '[\\-;:%&=~\\.\\+\\$,\\w]';
const u_hchar = '[/\\-;:!%&=~\\.\\+\\$,\\w]';
const u_proto = `(?:https?|ftp)`;
const u_auth = `(?:${u_char}+@)`;
const u_host = `(?:(?:[-a-z0-9]+\\.?)+)`;
Expand Down

0 comments on commit 4f9d774

Please sign in to comment.