Conversation

vwheeler63
  1. Incorporate PR Fix quotes in multiline option #11

Resolves #8
Resolves #9

  1. Three enhancements on regexes...
    • Switch to raw string literal to make regexes more readable. This also prevents Python from seeing things like "\s" as INVALID ESCAPE SEQUENCES!
    • Simplify not-space-character expression ("[^\s]") to just \S.
    • Correct misspelling of 2nd regex variable name.

…l#11 in main repo

Fixes 2 issues with 1st line of multi-line option:

- was allowing whitespace at end of 1st line value of multi-line option,
- was not removing quotes around 1st line value of multi-line option.

Also, enhanced test to detect these problems in the future.
- Switch to raw string literal to make regexes more readable.
- Simplify "not space character" expression to just `\S`.
- Correct mis-spelling of 2nd regex variable name.
Sign up for free to join this conversation on . Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

Trailing whitespaces in multiline options don't get stripped Quotes don't get stripped for multiline statements
@vwheeler63