diff options
author | Linus Groh <mail@linusgroh.de> | 2020-11-27 23:42:58 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-11-28 01:20:11 +0100 |
commit | 8a9a7f1677ad42053b5c9b12d94c661fdd27588a (patch) | |
tree | fd314ecbdf38cbde2f7b828142fea8cf710656b6 /Libraries/LibJS/Runtime/VM.h | |
parent | b6e5442d55b5294fa8fc2c3728950dfb77b64a30 (diff) | |
download | serenity-8a9a7f1677ad42053b5c9b12d94c661fdd27588a.zip |
LibJS: Make RegExp.prototype.source spec-compliant
Basically:
- And edge case for this object being RegExp.prototype.source
- Return "(?:)" for empty pattern
- Escape some things properly
Diffstat (limited to 'Libraries/LibJS/Runtime/VM.h')
0 files changed, 0 insertions, 0 deletions