What are the differences between dotall:regex:content:... and multiline:regex:content:
Or formulated different : in what situation should I use the one or the other?
dotall: vs multiline: ?
-
void
- Developer
- Posts: 19871
- Joined: Fri Oct 16, 2009 11:31 pm
Re: dotall: vs multiline: ?
dotall:
When enabled, regular expression . will match all characters.
When disabled, regular expression . will match all characters except new lines.
multiline:
When enabled, ^ and $ will match the whole line.
When disabled, ^ and $ will match the entire text.
eachline:
Match each line or match the entire content.
If enabled, searching stops on the first line matched.
dotall:
multiline:
eachline:
When enabled, regular expression . will match all characters.
When disabled, regular expression . will match all characters except new lines.
multiline:
When enabled, ^ and $ will match the whole line.
When disabled, ^ and $ will match the entire text.
eachline:
Match each line or match the entire content.
If enabled, searching stops on the first line matched.
dotall:
multiline:
eachline:
-
NotNull
- Posts: 5961
- Joined: Wed May 24, 2017 9:22 pm
Re: dotall: vs multiline: ?
All clear now. Didn't connect the dot to "." in dotall: ...
(language barrier)
(language barrier)