需求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
需求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