From a7f2c69cc15e8e971928ef8012d61f45442da8ca Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 1 Dec 2009 11:38:37 +0100 Subject: Use \s to match spaces, it is the same as [ \t\n\r\f\v] --- libempathy-gtk/empathy-ui-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c index 6906d8228..2d8f4091c 100644 --- a/libempathy-gtk/empathy-ui-utils.c +++ b/libempathy-gtk/empathy-ui-utils.c @@ -51,7 +51,7 @@ #include #define SCHEMES "([a-zA-Z\\+]+)" -#define INVALID_CHARS " \n\"'" +#define INVALID_CHARS "\\s\"'" #define INVALID_CHARS_EXT INVALID_CHARS "\\[\\]<>(){},;:?" #define BODY "([^"INVALID_CHARS"]+)" #define BODY_END "([^"INVALID_CHARS"]*)[^"INVALID_CHARS_EXT".]" -- cgit v1.2.3