Skip to content

Commit 0cb96dc

Browse files
authored
Merge pull request #46 from ayangd/master
Fix typo on matchlenght to matchlength
2 parents 349ef18 + 0c94a3d commit 0cb96dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

re.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ re_t re_compile(const char* pattern);
5151

5252

5353
/* Find matches of the compiled pattern inside text. */
54-
int re_matchp(re_t pattern, const char* text, int* matchlenght);
54+
int re_matchp(re_t pattern, const char* text, int* matchlength);
5555

5656

5757
/* Find matches of the txt pattern inside text (will compile automatically first). */
58-
int re_match(const char* pattern, const char* text, int* matchlenght);
58+
int re_match(const char* pattern, const char* text, int* matchlength);
5959

6060

6161
#ifdef __cplusplus

0 commit comments

Comments
 (0)