From 3f1dade7856265f68b5926dbe18e2d1635d84a48 Mon Sep 17 00:00:00 2001 From: anon Date: Mon, 21 Aug 2023 16:26:41 +0200 Subject: [PATCH] fixed retarded comit --- source/regex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/regex.c b/source/regex.c index d87de0e..e9e37ae 100644 --- a/source/regex.c +++ b/source/regex.c @@ -161,11 +161,9 @@ int regex_match(const char * const pattern, } if (*(pattern_pointer + 1) == '<' - && (is_word_separator(*string_pointer)) - || string_pointer == string_start) { + && (is_word_separator(*string_pointer))) { pattern_pointer += 2; string_pointer += 1; - match_offset = string_pointer - (string_start + string_offset); continue; }