Module: nagvis
Branch: master
Commit: fbef2b383435e41663ed688e39fe74575d615aad
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=fbef2b383435e41663ed688e39fe74575d615aad

Author: Lars Michelsen <[email protected]>
Date:   Wed Jun 30 23:50:35 2010 +0200

#323 @ signs are now allowed in service_descriptions

---

 share/server/core/defines/matches.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/server/core/defines/matches.php 
b/share/server/core/defines/matches.php
index 5313d07..b07932b 100644
--- a/share/server/core/defines/matches.php
+++ b/share/server/core/defines/matches.php
@@ -28,8 +28,8 @@
 define('MATCH_ALL', '/^.*$/i');
 
 // These regex allow unicode matching
-define('MATCH_STRING', 
'/^[0-9a-zа-яё\s\:\+\[\]\(\)\_\.\,\-\?\!\#\=\/\\\]+$/iu');
-define('MATCH_STRING_EMPTY', 
'/^[[0-9a-zа-яё\s\:\+\[\]\(\)\_\.\,\-\?\!\#\=\/\\\]*$/iu');
+define('MATCH_STRING', 
'/^[0-9a-zа-яё\s\:\+\[\]\(\)\_\.\,\-\?\!...@\=\/\\\]+$/iu');
+define('MATCH_STRING_EMPTY', 
'/^[[0-9a-zа-яё\s\:\+\[\]\(\)\_\.\,\-\?\!...@\=\/\\\]*$/iu');
 define('MATCH_STRING_NO_SPACE', 
'/^[[0-9a-zа-яё\:\+\[\]\(\)\_\.\,\-\?\!...@\=\/\\\]+$/iu');
 define('MATCH_STRING_NO_SPACE_EMPTY', 
'/^[[0-9a-zа-яё\:\+\[\]\(\)\_\.\,\-\?\!...@\=\/\\\]*$/iu');
 


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to