Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以在 C# 中进行这样的字符串比较,字符串: “test”和“te[smf]t”被认为是相等的(所以我写了几个可以匹配相等的字母)?
是的当然。去去正则表达式:
Regex.IsMatch("test","te[smf]t");