IIRC, the standard RegExp "except" operator IS supported: > set as-path 100not1000orig ".* 100 .* (!1000)$" set as-path 100not1000orig ".* 100 .* [^1000]$"