diff --git a/main.go b/main.go index 68fdd2c..c8c5f8b 100644 --- a/main.go +++ b/main.go @@ -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)