Skip to content

Fix bugs and enhance #14

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? No Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vwheeler63
Copy link

@vwheeler63 vwheeler63 commented Mar 2, 2025

  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.
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
None yet
Projects
None yet
1 participant