Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ resetRegexpState
Function
resetRegexpState
lib/SourceMapDevToolPlugin.js:62–64 ·
view source on GitHub ↗
(regexp)
Source
from the content-addressed store, hash-verified
60
* @returns {void}
61
*/
62
const
resetRegexpState = (regexp) => {
63
regexp.lastIndex = -1;
64
};
65
66
/**
67
* Escapes regular expression metacharacters
Callers
1
apply
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected