aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index ce4a338..491ddbb 100644
--- a/src/search.c
+++ b/src/search.c
@@ -198,7 +198,7 @@ teco_regex_escape(const gchar *str, gsize len)
*p++ = '0';
*p++ = '0';
*p++ = '0';
- } else if (strchr("^.*+?(|[-]{\\$", *str)) {
+ } else if (strchr("^.*+?()|[-]{\\$", *str)) {
*p++ = '\\';
*p++ = *str;
} else {