Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
utils: add ^ to regexp_escape, fixes #3079
  • Loading branch information
perexg committed Sep 15, 2015
1 parent b3bec33 commit 99edd68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.c
Expand Up @@ -568,6 +568,7 @@ regexp_escape(const char* str)
case '[':
case ']':
case '*':
case '^':
*b = '\\';
b++;
/* -fallthrough */
Expand Down

0 comments on commit 99edd68

Please sign in to comment.