Skip to content

CONTROL_TOKENS_PATTERN, uppercase - #16

Merged
AmitMY merged 2 commits into
mainfrom
control-tokens-pattern-name
Oct 10, 2026
Merged

AmitMY merged 2 commits into
mainfrom
control-tokens-pattern-name

Conversation

@AmitMY

@AmitMY AmitMY commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Renames CONTROl_TOKENS_PATTERN to CONTROL_TOKENS_PATTERN, with no alias. words-segmentation is its only consumer and switches to the new name in its next release; older words-segmentation releases will no longer import with this version.

The public-API test pins the new name.

🤖 Generated with Claude Code

https://claude.ai/code/session_015Xm62qoeaTunFSU5GYCQ1f


Note

Low Risk
Naming-only breaking change to a documented public constant; behavior and pattern value are identical.

Overview
Fixes a typo in the public constant name: CONTROl_TOKENS_PATTERN (lowercase l) is renamed to CONTROL_TOKENS_PATTERN. The regex string value is unchanged.

The public-API test and its docstring are updated to import and reference the corrected name. No backward-compatibility alias is added, so anything still importing the old name will break until updated (e.g. words-segmentation on a matching release).

Reviewed by Cursor Bugbot for commit 5ef6557. Bugbot is set up for automated code reviews on this repo. Configure here.

autoresearch and others added 2 commits October 10, 2026 04:40
words-segmentation <= 0.0.6 imports CONTROl_TOKENS_PATTERN, so it remains an alias of the corrected name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015Xm62qoeaTunFSU5GYCQ1f
@AmitMY AmitMY changed the title CONTROL_TOKENS_PATTERN, uppercase (misspelled alias kept) CONTROL_TOKENS_PATTERN, uppercase Oct 10, 2026
@AmitMY
AmitMY merged commit 9cddef7 into main Oct 10, 2026
6 checks passed
@AmitMY
AmitMY deleted the control-tokens-pattern-name branch October 10, 2026 08:43
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.

1 participant