refactor
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* @param {...string} args
|
||||
* @returns {Regexp}
|
||||
*/
|
||||
export function pretty(...args) {
|
||||
export function compileMultilineRegex(...args) {
|
||||
const regexprStr = args.join("");
|
||||
return new RegExp(regexprStr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user