diff options
| author | Tyge Lovset <[email protected]> | 2022-05-30 10:17:07 +0200 |
|---|---|---|
| committer | Tyge Lovset <[email protected]> | 2022-05-30 10:17:07 +0200 |
| commit | b28d3fa7c3b9233ca485014744bf84e6c4f5a1d3 (patch) | |
| tree | 8c97999b1ede5e0cf45c94b2035e94b0734dff1c /examples | |
| parent | 831dc0843aeedcb45138a6ed576ea03f2dcd58f8 (diff) | |
| download | STC-modified-b28d3fa7c3b9233ca485014744bf84e6c4f5a1d3.tar.gz STC-modified-b28d3fa7c3b9233ca485014744bf84e6c4f5a1d3.zip | |
Large refactoring on strings / utf8 and some file structure.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/regex1.c | 4 | ||||
| -rw-r--r-- | examples/regex2.c | 2 | ||||
| -rw-r--r-- | examples/regex_match.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/regex1.c b/examples/regex1.c index 48dfe515..7481fbb1 100644 --- a/examples/regex1.c +++ b/examples/regex1.c @@ -20,7 +20,7 @@ int main(int argc, char* argv[]) // Exit when the user inputs q if (cstr_equals(input, "q")) break; - + if (cregex_find(&float_expr, cstr_str(&input), 0, NULL, 0) > 0) printf("Input is a float\n"); else @@ -30,4 +30,4 @@ int main(int argc, char* argv[]) } #include "../src/cregex.c" -#include "../src/casefold.c" +#include "../src/utf8utils.c" diff --git a/examples/regex2.c b/examples/regex2.c index 60fd707a..7089956f 100644 --- a/examples/regex2.c +++ b/examples/regex2.c @@ -33,4 +33,4 @@ int main() } #include "../src/cregex.c" -#include "../src/casefold.c" +#include "../src/utf8utils.c" diff --git a/examples/regex_match.c b/examples/regex_match.c index 5d2ff215..0aa740d4 100644 --- a/examples/regex_match.c +++ b/examples/regex_match.c @@ -35,4 +35,4 @@ int main() } #include "../src/cregex.c" -#include "../src/casefold.c" +#include "../src/utf8utils.c" |
