Compare commits
2 Commits
dc95b7947d
...
8708016752
Author | SHA1 | Date | |
---|---|---|---|
8708016752 | |||
3f1dade785 |
@ -161,11 +161,9 @@ int regex_match(const char * const pattern,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (*(pattern_pointer + 1) == '<'
|
if (*(pattern_pointer + 1) == '<'
|
||||||
&& (is_word_separator(*string_pointer))
|
&& (is_word_separator(*string_pointer))) {
|
||||||
|| string_pointer == string_start) {
|
|
||||||
pattern_pointer += 2;
|
pattern_pointer += 2;
|
||||||
string_pointer += 1;
|
string_pointer += 1;
|
||||||
match_offset = string_pointer - (string_start + string_offset);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user