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/') ) )