Checks if string is an txt file. 检查字符串是否为txt文本文件
static bool isTxt(String s) => RegexUtils.hasMatch(s, RegexConstants.txt);