Skip to content

--regex-pattern option ignored by CLI #175

@peter-bloomfield

Description

@peter-bloomfield

The command line interface seems to ignore the --regex-pattern option. For example:

slugify --regex-pattern "[^-a-z0-9_]+" "___This is a test___"

Based on the unit tests (see test_regex_pattern_keep_underscore), the expected result should be "___this-is-a-test___". However, it's actually "this-is-a-test".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions