Branch: refs/heads/master Home: https://github.com/xwiki-contrib/documentation Commit: 2b0bfe95b8165fcfda5d9b866d245db488069592 https://github.com/xwiki-contrib/documentation/commit/2b0bfe95b8165fcfda5d9b... Author: Vincent Massol <[email protected]> Date: 2026-10-07 (Wed, 07 Oct 2026) Changed paths: M documentation-xwikiorg/documentation-xwikiorg-api/src/main/java/org/xwiki/contrib/documentation/internal/xwikiorg/KebabNameValidator.java Log Message: ----------- [Misc] Fix the SonarQube issues of the kebab-case name validator (#40) * Rewrite the kebab-case validity pattern so that each repetition consumes a whole run of letters and digits, with possessive quantifiers: the previous pattern repeated an alternation once per character and overflowed the stack on long names. The same names are accepted as before * Use the concise \d character class in the validator's patterns * Use streams instead of loops to collect the stop and reserved words of a name, and to remove them Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/documentation/settings/notifications