Commit bff3ece0 authored by Jean-Paul Smets's avatar Jean-Paul Smets

A quick hack to make sure erp5.com web sites still work. Clean solution is to...

A quick hack to make sure erp5.com web sites still work. Clean solution is to better specify what is a word.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19217 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8b5c59b9
......@@ -83,7 +83,7 @@ class DefaultKey(SearchKey):
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment