需求1:
匹配Mary,Jane,and Sue went to Mary's house中的Mary,Sue
Mary|Jane|Sue
需求2:
匹配Janet,Jane
Janet|Jane
或
python:
\bJanet?\b
tcl:
\yJanet?\y
原文链接:https://www.f2er.com/regex/361883.html需求1:
匹配Mary,Jane,and Sue went to Mary's house中的Mary,Sue
Mary|Jane|Sue
需求2:
匹配Janet,Jane
Janet|Jane
或
python:
\bJanet?\b
tcl:
\yJanet?\y
原文链接:https://www.f2er.com/regex/361883.html