1
1
The pipe character | is interpreted as branch.

Fix issue: character '|' now escaped for furter regexp search.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Этот коммит содержится в:
Daniel Borca 2009-08-21 16:42:15 +03:00 коммит произвёл Slava Zanko
родитель 948ff80b7e
Коммит 8a797248b0

Просмотреть файл

@ -68,6 +68,7 @@ mc_search__normal_translate_to_regex (gchar * str, gsize * len)
case ')':
case '^':
case '-':
case '|':
g_string_append_c (buff, '\\');
g_string_append_c (buff, str[loop]);
loop++;