CharPredicate:
val LowerAlpha = CharPredicate('a' to 'z')
val UpperAlpha = CharPredicate('A' to 'Z')
What is the easiest way to enable UTF for parboiled2?
Thank you,
Evgueni
val AllLowerAlpha = CharPredicate.from(Character.isLowerCase)
val AllUpperAlpha = CharPredicate.from(Character.isUpperCase)
val IsLetter = CharPredicate.from(Character.isLetter)
Hi All,
Character.isLetter - does the job.
Many thanks,
Evgueni
scala> Character.isLetter('腾')
res0: Boolean = true