我正在尝试在Go中编写一个正则表达式来测试拉丁字母。
\p{Latin}\p{L}
&&
latinRe := regexp.MustCompile(`\p{Latin}`)
letterRe := regexp.MustCompile(`\p{L}`)
if latinRe.Matches(testString) && letterRe.Matches(testString) {...}
我很高兴我无法使用像regex101.com这样的东西轻松测试。 有没有更好的办法? 更简洁? 高性能?