mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibJS: Implement (mostly) String.prototype.match
JavaScript has a couple of different ways to run a regular expression on a string. This adds support for one more. :^)
This commit is contained in:
parent
2c24c0e451
commit
1db943e146
Notes:
sideshowbarker
2024-07-18 21:23:17 +09:00
Author: https://github.com/awesomekling
Commit: 1db943e146
7 changed files with 91 additions and 1 deletions
|
@ -37,6 +37,8 @@ struct Flags {
|
|||
|
||||
namespace JS {
|
||||
|
||||
RegExpObject* regexp_create(GlobalObject&, Value pattern, Value flags);
|
||||
|
||||
class RegExpObject : public Object {
|
||||
JS_OBJECT(RegExpObject, Object);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue