diff options
| author | Tyge Løvset <[email protected]> | 2022-08-02 23:56:07 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-08-02 23:56:07 +0200 |
| commit | f738106b75d9c4d7998294ffac9ee43f04e18667 (patch) | |
| tree | ecb013116f138ccb0ed3e8b15c4780318659047b /examples | |
| parent | 2329ff3b35d80a4c357708ed9456d72f6db6a5dd (diff) | |
| download | STC-modified-f738106b75d9c4d7998294ffac9ee43f04e18667.tar.gz STC-modified-f738106b75d9c4d7998294ffac9ee43f04e18667.zip | |
Removed mflags parameter in cregex_is_match(input, re).
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/regex1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/regex1.c b/examples/regex1.c index 7e8040ac..5981e878 100644 --- a/examples/regex1.c +++ b/examples/regex1.c @@ -22,7 +22,7 @@ int main(int argc, char* argv[]) if (cstr_equals(input, "q")) break; - if (cregex_is_match(cstr_str(&input), &float_expr, 0)) + if (cregex_is_match(cstr_str(&input), &float_expr)) printf("Input is a float\n"); else printf("Invalid input : Not a float\n"); |
