I want to parse and extract filter and term information. filter definition can have multiple term definition in it. Inside term <term-name> { .* }, you will have multiple configuration like source-address { }. I want to extract all those information. It is difficult to parse these through RegEx as all the fields inside the term are optional and can occur in any order
| [reply] |
please show at least an output from your input.
| [reply] |
I've never heard of juniper firewall, and I don't recognize the format. You should ask the makers of juniper for a format specification and/or a parser.
| [reply] |