diff options
author | Conley Owens <cco3@android.com> | 2011-05-04 10:29:39 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-05-04 10:29:39 -0700 |
commit | 56c647bc14d70cb0abb7b8e8bb05f5dd96b1796d (patch) | |
tree | f55372884bda68b02463e500f3c8088b690caad6 /tools | |
parent | 19f9ca13908a5e1670ac1b38774242d1fc5f0a78 (diff) | |
parent | 18cbc618229f91b5d84a36dd7a95c2628b60da5e (diff) | |
download | packages_apps_Browser-56c647bc14d70cb0abb7b8e8bb05f5dd96b1796d.zip packages_apps_Browser-56c647bc14d70cb0abb7b8e8bb05f5dd96b1796d.tar.gz packages_apps_Browser-56c647bc14d70cb0abb7b8e8bb05f5dd96b1796d.tar.bz2 |
am 18cbc618: am 907c0563: Merge "Error in search engine script"
* commit '18cbc618229f91b5d84a36dd7a95c2628b60da5e':
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 bd6e5f8..86393f1 100755 --- a/tools/get_search_engines.py +++ b/tools/get_search_engines.py @@ -86,7 +86,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 |