fix(complex-matcher): properly alias RegExp export as RegExpNode (#6375)

Fixes #6365
Introduced by 9ef2c7da4c
This commit is contained in:
Pierre Donias 2022-08-22 10:44:07 +02:00 committed by GitHub
parent b89e77a6a4
commit e9b90caa3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,7 +253,7 @@ class RegExpNode extends Node {
return this.re.toString()
}
}
exports.RegExp = RegExpNode
exports.RegExp = exports.RegExpNode = RegExpNode
class StringNode extends Node {
constructor(value) {