The regex operator | (vertical bar) is the alternation, so this|that matches either the string this or the string that.
regex操作符 |(竖线)表示备选项,因此this|that匹配字符串 this或字符串 that。
The regex operator | (vertical bar) is the alternation, so this|that matches either the string this or the string that.
regex操作符 |(竖线)表示备选项,因此this|that匹配字符串 this或字符串 that。
应用推荐