no need to escape . inside []

This commit is contained in:
rolux 2012-06-17 15:35:34 +02:00
parent e6dafbb874
commit ec87a5c51c

View file

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