Fix commit 3f5fb3a5aa8eb893e84bc0241d0772ae8ac61866
[debian/pino.git] / debian / patches / 003_fix-search-regex.diff
index 9344fdd..06c8e88 100644 (file)
@@ -10,7 +10,7 @@ Forwarded: yes
                //compile regex
                nicks = new Regex("(^|\\s)@([A-Za-z0-9_]+)");
 -              tags = new Regex("((^|\\s)\\#[A-Za-z0-9_\\p{Latin}\\p{Greek}]+)");
-+              tags = new Regex("(^|\\s|'|\\()#([A-Za-z0-9_-\\p{Latin}\\p{Greek}]+)");
++              tags = new Regex("(^|\\s|'|\\()#([A-Za-z0-9_.-\\p{Latin}\\p{Greek}]+)");
                groups = new Regex("(^|\\s)!([A-Za-z0-9_]+)"); //for identi.ca groups
                urls = new Regex("((http|https|ftp)://([\\S]+))"); //need something better