Improve documentation
The Cosmo API documentation page is pretty good now https://justine.lol/cosmopolitan/documentation.html
This commit is contained in:
2
third_party/regex/regerror.c
vendored
2
third_party/regex/regerror.c
vendored
@@ -17,7 +17,7 @@
|
||||
│ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA │
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/bits/safemacros.internal.h"
|
||||
#include "libc/bits/safemacros.h"
|
||||
#include "libc/fmt/fmt.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "third_party/regex/regex.h"
|
||||
|
||||
2
third_party/regex/regexec.c
vendored
2
third_party/regex/regexec.c
vendored
@@ -875,7 +875,7 @@ static void tre_fill_pmatch(size_t nmatch, regmatch_t pmatch[], int cflags,
|
||||
* @return 0 or REG_NOMATCH
|
||||
*/
|
||||
int regexec(const regex_t *preg, const char *string, size_t nmatch,
|
||||
regmatch_t pmatch[nmatch], int eflags) {
|
||||
regmatch_t *pmatch, int eflags) {
|
||||
tre_tnfa_t *tnfa = (void *)preg->TRE_REGEX_T_FIELD;
|
||||
reg_errcode_t status;
|
||||
regoff_t *tags = NULL, eo;
|
||||
|
||||
Reference in New Issue
Block a user