From ec87a5c51c305f06cc5c4f1b589a8ede6626ee09 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 17 Jun 2012 15:35:34 +0200 Subject: [PATCH] no need to escape . inside [] --- tools/build/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build/build.py b/tools/build/build.py index 33cf02b8..01cd67ec 100755 --- a/tools/build/build.py +++ b/tools/build/build.py @@ -172,7 +172,7 @@ def build_oxjs(downloads=False, geo=False): ['Geo', 'Image', 'Unicode'] )), 'examples': filter( - lambda x: not re.search('^[\._]', x), + lambda x: not re.search('^[._]', x), os.listdir(root_path + 'examples/') ), 'readme': map( @@ -185,7 +185,7 @@ def build_oxjs(downloads=False, geo=False): 'title': get_title(root_path + 'readme/html/' + x) }, filter( - lambda x: not re.search('^[\._]', x), + lambda x: not re.search('^[._]', x), os.listdir(root_path + 'readme/html/') ) )