mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +00:00
LibRegex+LibC: Make re_nsub available to the user
To comply with Dr.POSIX, this field has to be user-accessible.
This commit is contained in:
parent
7e98457937
commit
f9fed0b167
Notes:
sideshowbarker
2024-07-18 09:09:08 +09:00
Author: https://github.com/alimpfard
Commit: f9fed0b167
Pull-request: https://github.com/SerenityOS/serenity/pull/8704
2 changed files with 4 additions and 3 deletions
|
@ -15,6 +15,8 @@ typedef ssize_t regoff_t;
|
|||
|
||||
typedef struct {
|
||||
void* __data;
|
||||
// Number of capture groups, Dr.POSIX requires this.
|
||||
size_t re_nsub;
|
||||
} regex_t;
|
||||
|
||||
enum __Regex_Error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue