{ bob => { ed => { larry => { rule5 => { "action" => "allow", "application" => "[ any ]", "category" => "[ any ]", "destination" => "[ any ]", "from" => "[ prod-L3 ]", "hip-profiles" => "[ any ]", "log-end" => "yes", "log-setting" => "orion_log", "log-start" => "no", "negate-destination" => "no", "negate-source" => "no", "option" => { "action" + => "allow", "application" + => "[ any ]", "category" + => "[ any ]", "destination" + => "[ any ]", "disable-server-respo +nse-inspection" => "no", "from" + => "[ prod-L3 ]", "hip-profiles" + => "[ any ]", "log-end" + => "yes", "log-setting" + => "orion_log", "log-start" + => "no", "negate-destination" + => "no", "negate-source" + => "no", "service" + => "[ any ]", "source" + => "[ any ]", "source-user" + => "[ any ]", "to" + => "[ corp-L3 ]", "}" + => "rule6 { \n opt ion { \n disable-server-response-inspection no", }, "service" => "[ any ]", "source" => "[ any ]", "source-user" => "[ any ]", "tag" => "[ some_tag ]", "to" => "[ corp-L3 ]", }, }, }, }, }
In reply to Re^2: Parsing a config file with braces and nested braces
by IamtheGorf
in thread Parsing a config file with braces and nested braces
by IamtheGorf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |