Skip to content

Commit

Permalink
Merge pull request #788 from scottarc/patch-3
Browse files Browse the repository at this point in the history
chore: Make unicorn/regex-shorthand happy
  • Loading branch information
slowcheetah authored Mar 25, 2020
2 parents 2ac6382 + 07c546c commit 1ffee4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-js/modules/web.url.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var INVALID_HOST = 'Invalid host';
var INVALID_PORT = 'Invalid port';

var ALPHA = /[A-Za-z]/;
var ALPHANUMERIC = /[\d+\-.A-Za-z]/;
var ALPHANUMERIC = /[\d+-.A-Za-z]/;
var DIGIT = /\d/;
var HEX_START = /^(0x|0X)/;
var OCT = /^[0-7]+$/;
Expand Down

0 comments on commit 1ffee4f

Please sign in to comment.