【发布时间】:2016-09-25 07:47:31
【问题描述】:
我有以下四个 URL,我只想使用正则表达式过滤其中两个。
/chassis/motherboard/cpu
/chassis/motherboard/cpu/core0
/chassis/motherboard/cpu0
/chassis/motherboard/cpu1/core0
我尝试过使用^.*[0-9a-z_].cpu,但无法找到解决方案。
【问题讨论】:
标签: python regex url filter uri