Features: 1) Update regex pattern in slug generator for improved handling of underscores and word characters;

Fixes: None;

Extra: None;
This commit is contained in:
Egor Pavlovich Gorbunov 2025-06-21 23:16:34 +03:00
parent e6ffb476fb
commit 0e4d5fe59f

View file

@ -26,7 +26,7 @@ def unicode_slugify_function(content):
max_length=88,
word_boundary=True,
save_order=True,
regex_pattern=r"[^A-Za-z0-9-]+",
regex_pattern=r"(?:[^\w-]|_)+",
separator="-",
)