Commit 8708e6f8 authored by Jérome Perrin's avatar Jérome Perrin

a KEYWORD must contain at least one character


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19669 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e84994bf
......@@ -101,7 +101,7 @@ class KeyWordKey(SearchKey):
return t
def t_KEYWORD(self, t):
r'(%\S*|([^!<>=\s%]\S*|!([^=\s]\S*)?)%)'
r'(%\S*|([^!<>=\s%]\S+|!([^=\s]\S+)?)%)'
# KEYWORD must start and/or end with '%'.
# It may contain arbitrary letters and numbers without white space
value = t.value.strip()
......
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