Files

6 lines
100 B
Python
Raw Permalink Normal View History

2026-08-24 08:11:59 -07:00
import re
def slug_label(value: str) -> str:
return re.sub(r" +", "-", value.strip().lower())