init: restore source from @anthropic-ai/claude-code@2.1.88 sourcemap
This commit is contained in:
commit
a8a678cb62
4494 files changed
+982833
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
const matchOperatorsRegex = /[|\\{}()[\]^$+*?.-]/g;
|
||||
|
||||
module.exports = string => {
|
||||
if (typeof string !== 'string') {
|
||||
throw new TypeError('Expected a string');
|
||||
}
|
||||
|
||||
return string.replace(matchOperatorsRegex, '\\$&');
|
||||
};
|
||||
Reference in new issue
Block a user