Changed '-t' flag to include the new RE_SINGLE_LINE flag as well

This commit is contained in:
2025-01-28 16:52:50 -05:00
parent 4c3c7e21c5
commit bde153ce08

View File

@@ -29,7 +29,7 @@ func main() {
// These flags have to be passed to the Compile function
if *multiLineFlag {
flagsToCompile = append(flagsToCompile, RE_MULTILINE)
flagsToCompile = append(flagsToCompile, RE_MULTILINE, RE_SINGLE_LINE)
}
if *caseInsensitiveFlag {
flagsToCompile = append(flagsToCompile, RE_CASE_INSENSITIVE)