Changed '-t' flag to include the new RE_SINGLE_LINE flag as well
This commit is contained in:
2
main.go
2
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)
|
||||
|
Reference in New Issue
Block a user