AWK匹配字符串,而不是正则表达式

如何将字符串与AWK匹配?

Say I have the string [(*.+ it should only match strings containing the string [(*.+.

该字符串是由用户输入的,因此,如果您知道可以逃避正则表达式的cli实用程序,它也可能起作用。

编辑:

It should also match strings containing the string, such as foo[(*.+bar.