Commit 3efaaae1 authored by Christian Hergert's avatar Christian Hergert
Browse files

todo: fix use of @ in TODO filenames

Fixes #1158
parent 43e2b0b5
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment