minor improvement of regular expression

This commit is contained in:
Miroslav Stampar 2011-02-27 17:58:01 +00:00
parent 21041f8b90
commit 7036190e8e

View File

@ -270,4 +270,4 @@ EXCLUDE_UNESCAPE = ("WAITFOR DELAY ", " INTO DUMPFILE ", " INTO OUTFILE ", "CREA
REFLECTED_VALUE_MARKER = '__REFLECTED_VALUE__' REFLECTED_VALUE_MARKER = '__REFLECTED_VALUE__'
# Regular expression used for marking non-alphanum characters # Regular expression used for marking non-alphanum characters
REFLECTED_NON_ALPHA_NUM_REGEX = r'[^<>\r\n]+' REFLECTED_NON_ALPHA_NUM_REGEX = r'[^<>\\r\\n]+?'