Setting :
geany 1.27 (built on Apr 17 2016 with GTK 2.24.30, GLib 2.48.0)
Linux 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Consider the following plain text

Sed ut perspiciatis, unde omnis iste natus error sit uoluptatem
accusantium doloremque laudantium, totam rem aperiam eaque ipsa, quae
ab illo inuentore ueritatis et quasi architecto beatae uitae dicta
sunt, explicabo. nemo enim ipsam uoluptatem, quia uoluptas sit,
aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos,
qui ratione uoluptatem sequi nesciunt, neque porro quisquam est, qui
dolorem ipsum, quia dolor sit, amet, consectetur, adipisci uelit, sed
quia non numquam eius modi tempora incidunt, ut labore et dolore magnam
aliquam quaerat uoluptatem. ut enim ad minima ueniam, quis nostrum
exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex
ea commodi consequatur? quis autem uel eum iure reprehenderit, qui in
ea uoluptate uelit esse, quam nihil molestiae consequatur, uel illum,
qui dolorem eum fugiat, quo uoluptas nulla pariatur?

It has two occurences of the word qui followed by the word dolorem : one where qui is at the end of line 6 and dolorem at the beginning of line 7, and one at line 13.

Using Search/Find
Search for : qui.*?dolorem
x Use regular expressions
x Use multi-line matching

I would expect two matches. I get only the last one.
It seems to me that this behaviour contradicts the tooltip "newline characters are part of the input and can be captured as normal characters by the pattern." and also what I'm used to in .

On the other hand, qui(\s)*?dolorem matches both.


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