diff options
author | Conley Owens <cco3@android.com> | 2011-05-03 16:37:49 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-05-03 16:37:49 -0700 |
commit | 18cbc618229f91b5d84a36dd7a95c2628b60da5e (patch) | |
tree | 10cea11107578bbf35e3183d8043403abca08e30 /tools | |
parent | db2c56a0c816363670498298ab017cae5bb05745 (diff) | |
parent | 907c05639845716fb647c6367958aa965eb44fac (diff) | |
download | packages_apps_Browser-18cbc618229f91b5d84a36dd7a95c2628b60da5e.zip packages_apps_Browser-18cbc618229f91b5d84a36dd7a95c2628b60da5e.tar.gz packages_apps_Browser-18cbc618229f91b5d84a36dd7a95c2628b60da5e.tar.bz2 |
am 907c0563: Merge "Error in search engine script"
* commit '907c05639845716fb647c6367958aa965eb44fac':
Error in search engine script
Diffstat (limited to 'tools')
-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 |