using System.Text.RegularExpressions;
namespace RoadFlow.Pinyin
{
///
/// 拼音工具类
///
public static class PinyinUtil
{
///
/// 判断字符是否是汉字
///
/// 要判断的字符
///
public static bool IsHanzi(char ch)
{
return Regex.IsMatch(ch.ToString(), @"[\u4e00-\u9fbb]");
}
}
}