ladybird/Userland/Libraries/LibJS/Tests/builtins/RegExp
Linus Groh d85b9fd5a0 LibJS: Bring back runtime validation of RegExp flags
This is a partial revert of commit 60064e2, which removed the validation
of RegExp flags during runtime and expected the parser to do that
exclusively - however this was not taking into account the RegExp()
constructor, which was subsequently crashing on invalid flags.

Also adds test for these constructor error cases, which were obviously
missing before.

Fixes #7042.
2021-05-11 22:47:14 +01:00
..
RegExp.js LibJS: Bring back runtime validation of RegExp flags 2021-05-11 22:47:14 +01:00
RegExp.prototype.exec.js LibRegex: Implement multiline stateful matches 2021-04-23 10:05:04 +02:00
RegExp.prototype.flags.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
RegExp.prototype.source.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
RegExp.prototype.test.js LibJS: Make invalid RegExp flags a SyntaxError at parse time 2021-05-10 12:01:38 +01:00
RegExp.prototype.toString.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00