From bde153ce082d15f20d8cb48b957d23f1edf3f1cf Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Tue, 28 Jan 2025 16:52:50 -0500 Subject: [PATCH] Changed '-t' flag to include the new RE_SINGLE_LINE flag as well --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)