Skip to content

Commit

Permalink
chore: Make optimize-regex/optimize-regex happy too
Browse files Browse the repository at this point in the history
  • Loading branch information
scottarc committed Mar 25, 2020
1 parent 2b4d53e commit 07c546c
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 07c546c

Please sign in to comment.