diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-12-01 18:38:37 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-12-01 18:38:37 +0800 |
commit | a7f2c69cc15e8e971928ef8012d61f45442da8ca (patch) | |
tree | f22c5f22f481c357c2989d2c0d2921bbcd099a46 /libempathy-gtk | |
parent | 35f5ca3376db3a641d4deb0f1eedd76a0ca2cd15 (diff) | |
download | gsoc2013-empathy-a7f2c69cc15e8e971928ef8012d61f45442da8ca.tar gsoc2013-empathy-a7f2c69cc15e8e971928ef8012d61f45442da8ca.tar.gz gsoc2013-empathy-a7f2c69cc15e8e971928ef8012d61f45442da8ca.tar.bz2 gsoc2013-empathy-a7f2c69cc15e8e971928ef8012d61f45442da8ca.tar.lz gsoc2013-empathy-a7f2c69cc15e8e971928ef8012d61f45442da8ca.tar.xz gsoc2013-empathy-a7f2c69cc15e8e971928ef8012d61f45442da8ca.tar.zst gsoc2013-empathy-a7f2c69cc15e8e971928ef8012d61f45442da8ca.zip |
Use \s to match spaces, it is the same as [ \t\n\r\f\v]
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-ui-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <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".]" |