Skip to content

Commit 255ab7a

Browse files
committed
Merge branch '6.1' into 6.2
2 parents 54d7052 + 6fb4ce6 commit 255ab7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/ckeditor5-woltlab-smiley/src/woltlabsmileyui.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ export function getRegexExp(): RegExp {
463463
const openAfterCharacters = env.features.isRegExpUnicodePropertySupported
464464
? "\\p{Ps}\\p{Pi}\"'"
465465
: "\\(\\[{\"'";
466-
const pattern = `(?:^|[ ${openAfterCharacters}])(:)([a-z]+(?:_[a-z]+)*)$`;
466+
const pattern = `(?:^|[ ${openAfterCharacters}])(:)([a-z][a-z0-9]*(?:_[a-z0-9]+)*)$`;
467467
return new RegExp(pattern, "u");
468468
}
469469

0 commit comments

Comments
 (0)