Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 001cbff

Browse files
committed
speed up of 2 times for partial union technique
1 parent 9782094 commit 001cbff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302
REFLECTED_VALUE_MARKER = '__REFLECTED_VALUE__'
303303

304304
# Regular expression used for marking non-alphanum characters
305-
REFLECTED_NON_ALPHA_NUM_REGEX = r'[^<>\\r\\n]+?'
305+
REFLECTED_NON_ALPHA_NUM_REGEX = r'\W+?'
306306

307307
# Chars which can be used as a failsafe values in case of too long URL encoding value
308308
URLENCODE_FAILSAFE_CHARS = '()|,'

0 commit comments

Comments
 (0)