why does
root@srx1# run show route aspath-regex "1912 1620 5555 . (2222|3333) +1111"
Match this route
inet.0: 551 destinations, 559 routes (512 active, 0 holddown, 40 hidden)
+ = Active Route, - = Last Active, * = Both
44.33.0.0/16 *[BGP/170] 00:12:13, localpref 150
AS path: 1912 1620 5555 4444 3333 2222 1111 I, validation-state: unverified
> to 172.16.101.1 via ge-0/0/4.101
H1.inet.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
H3.inet.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
inet6.0: 85 destinations, 94 routes (85 active, 0 holddown, 0 hidden)
[edit]
root@srx1#
from what I can see working right to left the match should fail on 4444
+1111 matches 1111
(2222|3333) matches 2222
. matches 3333
4444 does not match 5555
so why does it match ? so confused. Any assistance appreciated,