mirror of https://github.com/tc39/test262.git
Update regExpUtils.js
This commit is contained in:
parent
d361217eb7
commit
242128ec78
|
@ -89,6 +89,12 @@ function testPropertyOfStrings(args) {
|
|||
}
|
||||
}
|
||||
|
||||
// The exact same logic can be used to test extended character classes
|
||||
// as enabled through the RegExp `v` flag. This is useful to test not
|
||||
// just standalone properties of strings, but also string literals, and
|
||||
// set operations.
|
||||
const testExtendedCharacterClass = testPropertyOfStrings;
|
||||
|
||||
// Returns a function that validates a RegExp match result.
|
||||
//
|
||||
// Example:
|
||||
|
|
Loading…
Reference in New Issue