Searched refs:replaceMap (Results 1 – 3 of 3) sorted by relevance
15 export function groupReplace(src: string, replaceMap: Map<string, string>, pattern: string) {16 const fullPattern = pattern.replace('#group#', [...replaceMap.keys()].join('|'));25 return match.replace(key, replaceMap.get(key) || '');
140 replaceMap: Map<string, string>152 [...replaceMap.entries()].some(([oldStr, newStr]) => {
216 const replaceMap = new Map( constant233 const str = groupReplace(fileContent, replaceMap, 'R.attr.(#group#)(?![a-zA-Z])');