You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new RegExp(`\\${path.sep}prebid\.js`), is trying to match /prebid.js,
but this regex will output like this: /\/prebid.js/,
the . here will match any charactor, not character . literally .
new RegExp(`\\${path.sep}prebid\\.js`),, two backslash, is the correct pattern.
This will output as /\/prebid\.js/
Expected results
/\/prebid\.js/
Actual results
/\/prebid.js/
The text was updated successfully, but these errors were encountered:
Type of issue
README typo
Description
In
Usage (as a npm dependency)
>With Babel 7:
new RegExp(`\\${path.sep}prebid\.js`),
is trying to match/prebid.js
,but this regex will output like this:
/\/prebid.js/
,the
.
here will match any charactor, not character.
literally .new RegExp(`\\${path.sep}prebid\\.js`),
, two backslash, is the correct pattern.This will output as
/\/prebid\.js/
Expected results
/\/prebid\.js/
Actual results
/\/prebid.js/
The text was updated successfully, but these errors were encountered: