需要转义的正则表达式符号

$( ) *+. ? /^{ } | []

原文地址:https://www.cnblogs.com/cina33blogs/p/7234076.html