<|im_start|>user
What is the right regex to make sure an answer is exclusively Japanese Kana?<|im_end|>
<|im_start|>assistant
You can use the following regular expression pattern to ensure that an answer consists exclusively of Japanese Kana characters:

*^[\p{Script=Hiragana}\p{Script=Katakana}ー－]+$*


**Explanation**:

- ^ - Matches the start of the string.
- [\p{Script=Hiragana}\p{Script=Katakana}ー－] - Character class that allows matching of either Hiragana characters, Katakana characters, or the long vowel mark (ー) and its half-width counterpart (－).

- "+ -" Allows one or more occurrences of the character class.
- $ - Matches the end of the string.

This regular expression pattern will only match strings that consist entirely of Hiragana characters, Katakana characters, or the long vowel mark. It will exclude any other characters such as Kanji, numbers, or Latin characters.<|im_end|>
<|im_start|>user
That's very helpful. Thanks.<|im_end|>
<|im_start|>assistant
You're welcome! I'm glad I could help. If you have any more questions, feel free to ask.<|im_end|>
