1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:38:11 +00:00
serenity/Userland/Libraries/LibJS
Timothy Flynn 27d3de1f17 LibRegex: Do not continue searching input when the sticky bit is set
This partially reverts commit a962ee020a.

When the sticky bit is set, the global bit should basically be ignored
except by external callers who want their own special behavior. For
example, RegExp.prototype [ @@match ] will use the global flag to
accumulate consecutive matches. But on the first failure, the regex
loop should break.
2022-02-05 19:06:50 +03:30
..
Bytecode LibJS: Store ECMAScriptFunctionObject bytecode in an OwnPtr 2022-01-31 16:19:23 +01:00
Heap LibJS: Remove the JS_TRACK_ZOMBIE_CELLS option 2022-02-05 11:52:51 +01:00
Runtime LibJS: Remove the VERIFY_NOT_REACHED in link_and_eval_module 2022-02-05 11:52:51 +01:00
Tests LibRegex: Do not continue searching input when the sticky bit is set 2022-02-05 19:06:50 +03:30
AST.cpp LibJS: Keep handles on internal function while creating a class 2022-02-05 11:52:51 +01:00
AST.h LibJS: Keep handles on internal function while creating a class 2022-02-05 11:52:51 +01:00
CMakeLists.txt LibJS: Start implementing Intl Segment Iterator objects 2022-01-30 19:47:01 +00:00
Console.cpp LibJS: Implement console.time/timeLog/timeEnd() methods 2021-12-27 21:44:07 +01:00
Console.h LibJS: Implement console.time/timeLog/timeEnd() methods 2021-12-27 21:44:07 +01:00
CyclicModule.cpp LibJS: Implement the import assertions proposal 2022-01-30 17:40:20 +00:00
CyclicModule.h LibJS: Implement the import assertions proposal 2022-01-30 17:40:20 +00:00
Forward.h LibJS: Start implementing Intl Segment Iterator objects 2022-01-30 19:47:01 +00:00
Interpreter.cpp LibJS: Implement HostResolveImportedModule for LibJS 2022-01-22 01:21:18 +00:00
Interpreter.h Userland: Remove a bunch of unnecessary Vector imports 2022-01-28 23:40:25 +01:00
Lexer.cpp LibJS: Set Token's m_offset to the value's start index 2022-01-19 20:33:08 +00:00
Lexer.h LibJS: Detect invalid unicode and stop lexing at that point 2021-12-29 16:57:23 +01:00
MarkupGenerator.cpp LibJS+js: Pretty-print Date objects using the ToDateString AO 2022-01-15 20:13:48 +01:00
MarkupGenerator.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Module.cpp LibJS: Add support for JSON modules 2022-01-30 17:40:20 +00:00
Module.h LibJS: Implement Module linking and evaluating 2022-01-22 01:21:18 +00:00
Parser.cpp LibJS: Follow the spec with storing im- and export entries 2022-01-30 17:40:20 +00:00
Parser.h LibJS: Make parsing import and export entries follow the spec 2022-01-22 01:21:18 +00:00
Script.cpp LibJS: Add filename tracking to Script and Module 2022-01-22 01:21:18 +00:00
Script.h LibJS: Add filename tracking to Script and Module 2022-01-22 01:21:18 +00:00
SourceRange.h LibJS: Add missing headers 2021-10-06 23:52:40 +01:00
SourceTextModule.cpp LibJS: Remove unnecessary GlobalObject pointer from Environment 2022-01-31 16:19:23 +01:00
SourceTextModule.h LibJS: Implement the import assertions proposal 2022-01-30 17:40:20 +00:00
SyntaxHighlighter.cpp LibJS: Remove unused header includes 2021-08-01 08:10:16 +02:00
SyntaxHighlighter.h
SyntheticModule.cpp LibJS: Remove unnecessary GlobalObject pointer from Environment 2022-01-31 16:19:23 +01:00
SyntheticModule.h LibJS: Add support for JSON modules 2022-01-30 17:40:20 +00:00
Token.cpp LibJS: Disallow '\8' and '\9' in strict mode due to being octal escapes 2021-11-30 17:05:32 +00:00
Token.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00