Skip to content

Commit ad63ae0

Browse files
committed
Fix the js regex error
1 parent 4c6a541 commit ad63ae0

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
@@ -442,7 +442,7 @@ export function getRegexExp(): RegExp {
442442
const openAfterCharacters = env.features.isRegExpUnicodePropertySupported
443443
? "\\p{Ps}\\p{Pi}\"'"
444444
: "\\(\\[{\"'";
445-
const pattern = `(?:^|[ ${openAfterCharacters}])(:)([a-z][a-z0-9]*+(?:_[a-z0-9]+)*)$`;
445+
const pattern = `(?:^|[ ${openAfterCharacters}])(:)([a-z][a-z0-9]*(?:_[a-z0-9]+)*)$`;
446446
return new RegExp(pattern, "u");
447447
}
448448

0 commit comments

Comments
 (0)