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

master
Aadhavan Srinivasan 5 days ago
parent 4c3c7e21c5
commit bde153ce08

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

Loading…
Cancel
Save