Jan-22-2018, 06:24 AM
(This post was last modified: Jan-22-2018, 06:24 AM by Gribouillis.)
(Jan-22-2018, 04:01 AM)wfsteadman Wrote: I am not sure how this code would work to parse through a large file and find the nested configsThis is not what this code does. It only replaces config with {config and end with end}, but that's what you asked
(Jan-21-2018, 07:24 PM)wfsteadman Wrote: Then I could start the script and change every line that startswith 'config' to {config and evey line that startswith 'end' to end} and then be able to parse through it.Aren't you able to parse through it although I added the {} ?