Skip to content

Commit

Permalink
use non-capturing group
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Aug 25, 2023
1 parent 459d5f5 commit 7cb9775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-js/modules/esnext.json.parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var push = uncurryThis([].push);

var IS_DIGIT = /^\d$/;
var IS_NON_ZERO_DIGIT = /^[1-9]$/;
var IS_NUMBER_START = /^(-|\d)$/;
var IS_NUMBER_START = /^(?:-|\d)$/;
var IS_WHITESPACE = /^[\t\n\r ]$/;

var PRIMITIVE = 0;
Expand Down

0 comments on commit 7cb9775

Please sign in to comment.