Created
September 15, 2021 12:24
-
-
Save joshcarp/4529b2b8d9cbfb05f15de05b61f6106d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
put (?s) at the start of the capturing group: | |
https://stackoverflow.com/questions/20173472/does-go-regexps-any-charcter-match-newline | |
(?s)\n\[(?P<command>\w*)\]:#\s\((?P<args>(\s*\S*?,?)*)\).*<!---> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment