From the OP:
... if the entry is
permit iphost 10.11.1.1 192.168.100.0 0.0.0.255
I want to pull out
192.168.100.0 0.0.0.255
but if the entry is
permit ip10.11.1.0 0.0.0.255 192.168.100.0 0.0.0.255
I want to pull out
10.11.1.0 0.0.0.255
192.168.100.0 0.0.0.255
I don't see how an IP (10.11.1.1 in the example) after 'host' is ever desired to be captured. Am I missing something (wouldn't be the first time)?
In reply to Re^3: Match zero times in regex
by AnomalousMonk
in thread Match zero times in regex
by SomeNetworkGuy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |