Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (19 sloc) 474 Bytes
Value Required NAME (\S+)
Value DESC (.+)
Value TYPE ([hostubnerag]+)
Value HOST (\S+)
Value NETWORK (\S+)
Value MASK (\S+)
Value CIDR (\/\d+)
Value START_IP (\S+)
Value END_IP (\S+)
Start
^object\s+network -> Continue.Record
^object\s+network\s+${NAME}\s*
^\s+description\s+${DESC}\s*
^\s+${TYPE} -> Continue
^\s+subnet\s+${NETWORK}\s+${MASK}\s*
^\s+subnet\s+${NETWORK}${CIDR}\s*
^\s+range\s+${START_IP}\s+${END_IP}\s*
^\s+host\s+${HOST}\s*
^. -> Error
You can’t perform that action at this time.