Closed oliverdrechsel closed 1 year ago
Looks like this was introduced in https://github.com/trevorld/r-argparse/commit/f22b70c46c33798c0703f30547fd99ea4eea0d1b (when I added support for description/epilogue with newlines). I guess I can detect if the last character is a "
and if so either escape it or wrap with '''
instead of """
...
Running argparse 2.2.1 we encountered an error in one of our scripts. Scripts work fine with argparse 2.1.6.
Our old code fails with new argparse version.
Need to add a "whitespace" in the end of the help string.
It seems that the regular expression needs some attention beyond my regex skills....
cheers