Skip to content

Fix underscore - #16

Merged
vtm9 merged 1 commit into
hexlet-codebattle:mainfrom
dimaush:fix-underscore
Oct 16, 2026
Merged

vtm9 merged 1 commit into
hexlet-codebattle:mainfrom
dimaush:fix-underscore

Conversation

@dimaush

@dimaush dimaush commented May 22, 2026

Copy link
Copy Markdown
Contributor

Несущественные исправления без существенных изменений тестов или кода программы.

@vtm9 vtm9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving this task to its first-tag directory is appropriate, but the solution rewrite changes existing behavior after digits by dropping \d from the lowercase-to-uppercase boundary regex.

Reproduction: solution("version2Thing") changes from "version2_thing" to "version2thing"; "HTML5Parser" changes from "html5_parser" to "html5parser". These inputs satisfy the published limits.

Please retain the digit boundary, e.g. ([a-z\d])([A-Z]), and add regression asserts. All 25 existing asserts pass but do not exercise this case.

@vtm9
vtm9 merged commit 9f41f46 into hexlet-codebattle:main Oct 16, 2026
1 check passed
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.

2 participants