As documented dot does not match line ends by default, and in the "Internal Option Setting" section it is documented that multiline and dotall are separate options. If you set dotall by (?s)qui.*?dolorem you get two matches, though not the ones you seem to expect :)

The \s matches some line end characters so it will find the examples you seek.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.