diff options
Diffstat (limited to 'tools/get_search_engines.py')
-rwxr-xr-x | tools/get_search_engines.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/get_search_engines.py b/tools/get_search_engines.py index cd73423..8ac9b6f 100755 --- a/tools/get_search_engines.py +++ b/tools/get_search_engines.py @@ -87,7 +87,7 @@ class SearchEngineManager(object): str = str.strip('"') str = str.replace('&', '&').replace('<', '<').replace('>', '>') str = str.replace('"', '"').replace('\'', ''') - str = re.sub(r'\\x([a-fA-F0-9]+)', r'&#x\1;', str) + str = re.sub(r'\\x([a-fA-F0-9]{1,4})', r'&#x\1;', str) return str |