mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-16 19:30:54 -05:00
11 lines
325 B
C#
11 lines
325 B
C#
using Ryujinx.Common.Helper;
|
|
|
|
namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
|
|
{
|
|
public static class CharacterValidation
|
|
{
|
|
public static bool IsNumeric(char value) => Patterns.Numeric.IsMatch(value.ToString());
|
|
public static bool IsCJK(char value) => Patterns.CJK.IsMatch(value.ToString());
|
|
}
|
|
}
|