]> git.0d.be Git - empathy.git/commitdiff
Use \s to match spaces, it is the same as [ \t\n\r\f\v]
authorXavier Claessens <xclaesse@gmail.com>
Tue, 1 Dec 2009 10:38:37 +0000 (11:38 +0100)
committerXavier Claessens <xclaesse@gmail.com>
Tue, 1 Dec 2009 10:38:37 +0000 (11:38 +0100)
libempathy-gtk/empathy-ui-utils.c

index 6906d82282360729fb4c68a0fa412f951600a2e6..2d8f4091cb6dc8f1ba85aafca2be721134061f3f 100644 (file)
@@ -51,7 +51,7 @@
 #include <libempathy/empathy-ft-factory.h>
 
 #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".]"