bw2 / ConfigArgParse

A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.
MIT License
728 stars 121 forks source link

Regular expression strings should be raw strings #153

Closed johann-petrak closed 3 years ago

johann-petrak commented 5 years ago

E.g. the expression key = "(?P<key>[^:=;#\s]+?)" in the parse() method around line 160 should really be key = r'(?P<key>[^:=;#\s]+?)'

macfreek commented 3 years ago

I think this was fixed in commit 6267759 (which was actually dated from 13 Feb 2019, before this issue).

My suggestion would be to close this issue, with the suggestion to reopen if there still is a problem.