I went through the 'Using' page of the wiki and found a few things that may need to be fixed.
- Currently, the example replaces the
foo string in foo.txt with bar, but then saves to foo.txt.bar.txt. I think it would make sense to save either to foo.txt or to bar.txt.
- The
ex() method uses in which is actually a keyword, and thus results in a syntax error. It also refers to self.out_bar() which has been renamed to self.out_replace() in the rest of the example.
I can fix this and submit a PR if needed?
I went through the 'Using' page of the wiki and found a few things that may need to be fixed.
foostring infoo.txtwithbar, but then saves tofoo.txt.bar.txt. I think it would make sense to save either tofoo.txtor tobar.txt.ex()method usesinwhich is actually a keyword, and thus results in a syntax error. It also refers toself.out_bar()which has been renamed toself.out_replace()in the rest of the example.I can fix this and submit a PR if needed?