[gnome-builder/gnome-builder-3-36] todo: fix use of @ in TODO filenames
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-36] todo: fix use of @ in TODO filenames
- Date: Tue, 24 Mar 2020 18:11:08 +0000 (UTC)
commit 2c1ef017051998045b45380c2350d97f82cef994
Author: Christian Hergert <chergert redhat com>
Date: Mon Mar 9 14:39:18 2020 -0700
todo: fix use of @ in TODO filenames
Fixes #1158
src/plugins/todo/gbp-todo-model.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/todo/gbp-todo-model.c b/src/plugins/todo/gbp-todo-model.c
index 438db3091..851722d97 100644
--- a/src/plugins/todo/gbp-todo-model.c
+++ b/src/plugins/todo/gbp-todo-model.c
@@ -273,11 +273,11 @@ gbp_todo_model_class_init (GbpTodoModelClass *klass)
g_object_class_install_properties (object_class, N_PROPS, properties);
- line1 = g_regex_new ("([a-zA-Z0-9\\+\\-\\.\\/_]+):(\\d+):(.*)", 0, 0, &error);
+ line1 = g_regex_new ("([a-zA-Z0-9@\\+\\-\\.\\/_]+):(\\d+):(.*)", 0, 0, &error);
g_assert_no_error (error);
g_assert (line1 != NULL);
- line2 = g_regex_new ("([a-zA-Z0-9\\+\\-\\.\\/_]+)-(\\d+)-(.*)", 0, 0, &error);
+ line2 = g_regex_new ("([a-zA-Z0-9@\\+\\-\\.\\/_]+)-(\\d+)-(.*)", 0, 0, &error);
g_assert_no_error (error);
g_assert (line2 != NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]