[Erp5-report] r19217 - /erp5/trunk/products/ZSQLCatalog/SearchKey/DefaultKey.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Feb 10 15:53:10 CET 2008
Author: jp
Date: Sun Feb 10 15:53:07 2008
New Revision: 19217
URL: http://svn.erp5.org?rev=19217&view=rev
Log:
A quick hack to make sure erp5.com web sites still work. Clean solution is to better specify what is a word.
Modified:
erp5/trunk/products/ZSQLCatalog/SearchKey/DefaultKey.py
Modified: erp5/trunk/products/ZSQLCatalog/SearchKey/DefaultKey.py
URL: http://svn.erp5.org/erp5/trunk/products/ZSQLCatalog/SearchKey/DefaultKey.py?rev=19217&r1=19216&r2=19217&view=diff
==============================================================================
--- erp5/trunk/products/ZSQLCatalog/SearchKey/DefaultKey.py (original)
+++ erp5/trunk/products/ZSQLCatalog/SearchKey/DefaultKey.py Sun Feb 10 15:53:07 2008
@@ -83,7 +83,7 @@
t_LESSTHAN = r'<'
def t_WORD(self, t):
- r'[\x7F-\xFF\w\d\/~!@#$%^&*()_+\n][\x7F-\xFF\w\d\/~!@#$%^&*()_+\n]*'
+ r'[\x7F-\xFF\w\d\/\-~!@#$%^&*()_+\n][\x7F-\xFF\w\d\/\-~!@#$%^&*()_+\n]*'
#r'[\x7F-\xFF\w\d\/%][\x7F-\xFF\w\d\/%]*'
# WORD may contain arbitrary letters and numbers without white space
# WORD may contain '%' but not at the beginning or end (otherwise it's KEYWORD)
More information about the Erp5-report
mailing list