Skip to content

Commit

Permalink
Changed SO, Compiler, ucase/lcase/word/digit support
Browse files Browse the repository at this point in the history
  • Loading branch information
GerbenAaltink committed Oct 2, 2024
1 parent 3c6d179 commit 1d08e0c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rmatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ void rmatch_test(char *expr, char *text, char **expected)
assert(!expected[expected_index]);
}

void example_one()
void rmatch_example_one()
{
char *str = "testtest";
char *expr = "t.*t";
Expand All @@ -365,7 +365,7 @@ void example_one()
assert(!rmatch_extract(expr, &str));
}

void example_two()
void rmatch_example_two()
{
char *str = "testtest";
char *expr = "t.*t";
Expand Down Expand Up @@ -396,7 +396,7 @@ void rmatch_tests_slash(){
assert(result->length == 4);
assert(result->start == 0);
assert(result->position == 4);

// Test with optimizer
rmatch_optimize = 1;
text_ptr = text;
Expand Down Expand Up @@ -444,9 +444,9 @@ void rmatch_tests()
{
// Examples
printf("Testing example one.\n");
example_one();
rmatch_example_one();
printf("Testing example two.\n");
example_two();
rmatch_example_two();
printf("Testing extracting.\n");
// Star
printf("Testing star.\n");
Expand Down

0 comments on commit 1d08e0c

Please sign in to comment.