sre_constants.error: unbalanced parenthesis

写正则的re_pattern时报了以下错误:sre_constants.error: unbalanced parenthesis
该报错信息说的是没有配平括号。 linux中有智能提醒括号的对应情况,检查一下即可。

原文地址:https://www.cnblogs.com/everfight/p/unbalanced_parenthesis.html