【发布时间】:2018-07-11 07:30:19
【问题描述】:
我知道我可以用否定前瞻来否定特定单词 - 所以在我的示例中,我如何否定实际的“/checkout/payment”但仅在有单词“/checkout/”时才接受?
我到底需要什么:
/itempage/ - 不匹配
/product/model - 不匹配
/checkout/ - 匹配
/checkout/shipping - 匹配
/checkout/payment - 不匹配
【问题讨论】:
标签: regex regex-negation