URL slugs: fix regex
URL slugs: fix regex: a task in smol-software-harbor (Harbor dataset). slugify() in slugs/core.py keeps underscores ( "snake case title" becomes snake case-title ) and can leave doubled dashes. Slugs may contain only lowercase ASCII letters, digits and single dashes between words. Fix the regular…
The task
`slugify()` in `slugs/core.py` keeps underscores (`"snake_case title"` becomes `snake_case-title`) and can leave doubled dashes. Slugs may contain only lowercase ASCII letters, digits and single dashes between words. Fix the regular expression (the failing test is `test_underscores_become_dashes`) and run `python3 -m…
Part of efederici/smol-software-harbor.