commit | 907c05639845716fb647c6367958aa965eb44fac | [log] [tgz] |
---|---|---|
author | Conley Owens <cco3@android.com> | Tue May 03 15:44:31 2011 -0700 |
committer | Android Code Review <code-review@android.com> | Tue May 03 15:44:31 2011 -0700 |
tree | 63ad46a3be95f424a427573f772dc3cde48871d7 | |
parent | 673b9a69938cca506992dd13d95c093194854547 [diff] | |
parent | fa6c2b54d71342eee5ca478fb5f1c2ba27ae6d1b [diff] |
Merge "Error in search engine script"
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 @@ 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