Skip to content

Commit

Permalink
fix: Replace variable replacement RegEx with a more optimised one
Browse files Browse the repository at this point in the history
  • Loading branch information
parthverma1 committed Jan 30, 2025
1 parent 8717977 commit cced15c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/collection/query-param.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var _ = require('../util').lodash,
REGEX_HASH = /#/g,
REGEX_EQUALS = /=/g, // eslint-disable-line no-div-regex
REGEX_AMPERSAND = /&/g,
REGEX_EXTRACT_VARS = /{{[^{}]*[&#=][^{}]*}}/g,
REGEX_EXTRACT_VARS = /{{[^{}]*}}/g,

QueryParam,

Expand Down

0 comments on commit cced15c

Please sign in to comment.