nushell / nu_scripts

A place to share Nushell scripts with each other
MIT License
696 stars 221 forks source link

Remove multi-line flag from regexes #903

Closed NotTheDr01ds closed 1 month ago

NotTheDr01ds commented 1 month ago

Minor fix on str dedent - I erroneously used the regex multi-line flag (?m) in several patterns where it shouldn't have been. For the most part, this was harmless, but it did surface an error when I was working on updating the themes.

Fixed these and added two new tests that would have caught the issue.

fdncred commented 1 month ago

Thanks