diff --git a/packages/jukebox/src/components/dashboard/musicFilesDetails/lyrics/InlineTaggingDots.tsx b/packages/jukebox/src/components/dashboard/musicFilesDetails/lyrics/InlineTaggingDots.tsx index 91609b60..d08ad78c 100644 --- a/packages/jukebox/src/components/dashboard/musicFilesDetails/lyrics/InlineTaggingDots.tsx +++ b/packages/jukebox/src/components/dashboard/musicFilesDetails/lyrics/InlineTaggingDots.tsx @@ -1,7 +1,7 @@ import { FURIGANA, LyricsLine, RangeAttributeLabel } from "lyrics-kit/core"; const pattern = - "(([あいうえおアイウエオゕゖヵヶてでテデんン]|[きぎしじちぢにひびぴみりゐキギシジチヂニヒビピミリヰヸ]([ゃャ]|[ゅょュョ][うウ]?)*|[くぐすずつづぬふぶぷむゆるゔクグスズツヅヌフブプムユルヴ][うウ]*|[けげせぜねへべぺめれゑケゲセゼネヘベペメレヱヹ][いイ]*|[こごそぞとどのほぼぽもよろをコゴソゾトドノホボポモヨロヲヺ][うウ]*)[ぁぃぅぇぉっァィゥェォッーんン]*|\\p{sc=Han}|[\\p{sc=Latin}\\p{sc=Cyrillic}\\p{sc=Greek}\\p{Nd}]+)"; + "(([あいうえおアイウエオゕゖヵヶてでテデんン]|[かがさざただなはばぱまやらわカガサザタダナハバパマヤラワヷ]|[きぎしじちぢにひびぴみりゐキギシジチヂニヒビピミリヰヸ]([ゃャ]|[ゅょュョ][うウ]?)*|[くぐすずつづぬふぶぷむゆるゔクグスズツヅヌフブプムユルヴ][うウ]*|[けげせぜねへべぺめれゑケゲセゼネヘベペメレヱヹ][いイ]*|[こごそぞとどのほぼぽもよろをコゴソゾトドノホボポモヨロヲヺ][うウ]*)[ぁぃぅぇぉっァィゥェォッーんン]*|\\p{sc=Han}|[\\p{sc=Latin}\\p{sc=Cyrillic}\\p{sc=Greek}\\p{Nd}]+)"; const beginPattern = new RegExp(pattern, "u"); const countPattern = new RegExp(pattern, "gu");