From 7036190e8e34be0a3e813492f4cb227a00aa78e7 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 27 Feb 2011 17:58:01 +0000 Subject: [PATCH] minor improvement of regular expression --- lib/core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index f20bb731f..7dd7555fd 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -270,4 +270,4 @@ EXCLUDE_UNESCAPE = ("WAITFOR DELAY ", " INTO DUMPFILE ", " INTO OUTFILE ", "CREA REFLECTED_VALUE_MARKER = '__REFLECTED_VALUE__' # Regular expression used for marking non-alphanum characters -REFLECTED_NON_ALPHA_NUM_REGEX = r'[^<>\r\n]+' +REFLECTED_NON_ALPHA_NUM_REGEX = r'[^<>\\r\\n]+?'