ladybird/Libraries/LibJS
Luke Wilde 105096e75a LibJS: Stop executing successful regex if it's past the end of the input
If the regex always matches the input, even if it's past the end, then
we need to stop execution of the regex when it's past the end. This
corresponds to step 13.a and prevents it from infinitely looping.

Reduced from: d98672060f/packages/react-i18n/src/utilities/money.ts (L10-L14)
2025-02-16 09:22:37 +01:00
..
Bytecode LibJS: Fix bytecode generation for super property stores and loads 2025-02-15 06:59:59 -05:00
Contrib/Test262 LibJS: Port to Windows 2025-02-06 15:16:50 -07:00
Heap LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Runtime LibJS: Stop executing successful regex if it's past the end of the input 2025-02-16 09:22:37 +01:00
Tests LibJS: Stop executing successful regex if it's past the end of the input 2025-02-16 09:22:37 +01:00
AST.cpp AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
AST.h Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
CMakeLists.txt LibJS: Port to Windows 2025-02-06 15:16:50 -07:00
Console.cpp LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00
Console.h LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00
CyclicModule.cpp AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
CyclicModule.h LibJS: Implement InnerModuleLoading as a free function 2025-01-21 14:58:32 +01:00
Forward.h LibJS: Implement the AsyncDisposableStack interface 2025-01-17 20:46:32 +01:00
Lexer.cpp LibJS: Extract some JS lexer helpers to free functions 2024-12-05 13:56:21 +01:00
Lexer.h LibJS: Extract some JS lexer helpers to free functions 2024-12-05 13:56:21 +01:00
MarkupGenerator.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
MarkupGenerator.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Module.cpp LibJS: Add missing spec prose to FinishLoadingImportedModule 2025-01-21 14:58:32 +01:00
Module.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ModuleLoading.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Parser.cpp LibJS: Remove support for the "assert" keyword for import attributes 2025-01-21 14:58:32 +01:00
Parser.h LibJS: Remove support for the "assert" keyword for import attributes 2025-01-21 14:58:32 +01:00
ParserError.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ParserError.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Position.h LibJS: Cache source code positions more often 2024-12-02 11:42:11 +01:00
Print.cpp LibJS: Implement the Temporal.ZonedDateTime constructor 2024-11-26 11:00:56 +01:00
Print.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Script.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Script.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SourceCode.cpp LibJS: Cache source code positions more often 2024-12-02 11:42:11 +01:00
SourceCode.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SourceRange.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SourceTextModule.cpp AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
SourceTextModule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SyntaxHighlighter.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SyntaxHighlighter.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SyntheticModule.cpp LibJS: Remove unneeded FIXMEs for suspending an execution context 2025-01-02 11:30:04 +01:00
SyntheticModule.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Token.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Token.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00