我知道在正则表达式中,你可以拒绝符号列表,例如
更准确地说,我想拒绝“print <除了“all”之外的任何内容>”。 一些例子:
[^abc]
。我想在输入的中间看到整个单词时进行拒绝。更准确地说,我想拒绝“print <除了“all”之外的任何内容>”。 一些例子:
print all - match
frokenfooster - no match
print all nomnom - no match
print bollocks - no match
print allpies - no match