æ¦è¦ æ£è¦è¡¨ç¾ã§ã²ãããªã«ããããããå ´åã«ããã /[ã-ã]/ ãã¨ãããããããã \p ãã¨ã¹ã±ã¼ã表ç¾ã使ã£ã¦ã ã /\p{Block=Hiragana}/u ãã®ããã«åãããããæ¸ããããã«ããããã®æ°ããªä»æ§ãV8ã§å®è£ ãããã åºæ¬ æåã®åé¡ã«ã¯æ§ã ãªãã®ãããããã®åé¡ånameã¨ããã®åé¡ã§ã®å¤valueã使ã£ã¦ã ã /\p{name=value}/u ãã®ããã«è¨è¿°ããã hiragana = /^\p{Script=Hiragana}+$/u // ã¹ã¯ãªããï¼è¨èªæå種ï¼åé¡ï¼å¹³ä»®å console.log( hiragana.test( 'ããããã' ) )ã // true console.log( hiragana.test( 'aiueo' ) ) // false // åé¡åãå¤ã«ã¯å¤§æµç¥ç§°ãï¼ã¤ãã¾ãã¯è¤æ°è¨å®ããã¦ããããã¡ãã使ãã h
{{#tags}}- {{label}}
{{/tags}}