Skip to content

Fix --regex-pattern being ignored by the CLI#176

Open
jdevera wants to merge 1 commit intomasterfrom
feat/cli-regex-pattern
Open

Fix --regex-pattern being ignored by the CLI#176
jdevera wants to merge 1 commit intomasterfrom
feat/cli-regex-pattern

Conversation

@jdevera
Copy link
Copy Markdown
Collaborator

@jdevera jdevera commented Apr 27, 2026

Summary

  • The --regex-pattern CLI option was parsed by argparse but never forwarded into the slugify() call in
    slugify_params, so it had no effect.
  • Forward regex_pattern from the parsed args, add a TestCommandParams.test_regex_pattern regression test, and include regex_pattern in the test defaults.
  • Update Changelog.

Fixes #175.

The `--regex-pattern` argument was parsed by argparse but never forwarded
into the `slugify()` call, so the option had no effect from the CLI.

Fixes #175.
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 97.459% (+0.02%) from 97.44% — feat/cli-regex-pattern into master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--regex-pattern option ignored by CLI

2 participants