summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/html2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/html b/bin/html
index 2111227..7fd7c39 100644
--- a/bin/html
+++ b/bin/html
@@ -81,7 +81,7 @@ def write(p, c):
def slug(p):
- m = re.search(r"([a-zA-Z\-\d]+)(\.([a-z]{2}))?\.md", p)
+ m = re.search(r"([0-9a-zA-Z\-]+)(\.([a-z]{2}))?\.md", p)
if not m:
err("Unable to get slug")