我知道在
Regex中,你可以拒绝符号列表,例如[^ abc].在我输入的中间看到一个完整的单词时,我想拒绝.
更确切地说,我想拒绝“print<除了”all“>”之外的任何东西.
几个例子:
print all - match frokenfooster - no match print all nomnom - no match print bollocks - no match print allpies - no match