Merge remote-tracking branch 'origin/Z3' into MAX-237

This commit is contained in:
Markus Makela
2014-09-01 13:44:24 +03:00
2 changed files with 19 additions and 9 deletions

View File

@ -1883,7 +1883,7 @@ char* replace_literal(
const char* replacement)
{
const char* prefix = "[ ='\",\\(]"; /*< ' ','=','(',''',''"',',' are allowed before needle */
const char* suffix = "[^[:alnum:]]"; /*< alpha-num chars aren't allowed after the needle */
const char* suffix = "([^[:alnum:]]|$)"; /*< alpha-num chars aren't allowed after the needle */
char* search_re;
char* newstr;
regex_t re;