mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 22:15:24 +02:00
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.
|
// Returns a function that validates a RegExp match result.
|
||||||
//
|
//
|
||||||
// Example:
|
// Example:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user