Skip to content

Commit 57a329c

Browse files
committed
Replace single whitespace with one or more regex
1 parent cfd9f00 commit 57a329c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ntc_templates/templates/cisco_xr_show_ipv4_interface.textfsm

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Value RPF_CHECK (\S+)
1919
Start
2020
^(Mon?)|(Tue?)|(Wed?)|(Thu?)|(Fri?)|(Sat?)|(Sun?)\s.*$$
2121
^\S+\s+is -> Continue.Record
22-
^${INTERFACE}\sis\s${LINK_STATUS},\s+${PROTOCOL}\sprotocol\sis\s${PROTOCOL_STATUS}.*$$
22+
^${INTERFACE}\s+is\s+${LINK_STATUS},\s+${PROTOCOL}\s+protocol\s+is\s+${PROTOCOL_STATUS}.*$$
2323
^\s+Vrf\s+is\s+${VRF}\s+\(vrfid\s+${VRF_ID}\)
2424
^\s+Internet\s+address\s+is\s+${IP_ADDRESS}/?${PREFIX_LENGTH}\s*$$
2525
^\s+Secondary\s+address\s+${SEC_IP_ADDRESS}/?${SEC_PREFIX_LENGTH}\s*$$

0 commit comments

Comments
 (0)