[gtksourceview] pcre2: remove \\K check
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] pcre2: remove \\K check
- Date: Thu, 1 Oct 2020 21:16:56 +0000 (UTC)
commit 930a5ba4d0e0c4c35522bb9bd54cd57e58ca714b
Author: Christian Hergert <chergert redhat com>
Date: Thu Oct 1 14:16:20 2020 -0700
pcre2: remove \\K check
gtksourceview/implregex.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/gtksourceview/implregex.c b/gtksourceview/implregex.c
index aaa26be2..bfc77366 100644
--- a/gtksourceview/implregex.c
+++ b/gtksourceview/implregex.c
@@ -134,7 +134,6 @@ impl_regex_new (const char *pattern,
#endif
g_return_val_if_fail (pattern != NULL, NULL);
- g_return_val_if_fail (strstr (pattern, "\\K") == NULL, NULL);
context = pcre2_compile_context_create (NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]