[Geany-Users] Find, regex, spans lines

Péter peter20 at xxxxx
Fri Aug 1 09:39:56 UTC 2014


Colomban Wendling wrote:
>> Do you experience the same?
> Yes

> use "anything but Q or newline": [^Q\r\n]

OK, I accept it.

[^Q\n]*Q
works. (Finds only inside one line.)

Lex Trotman wrote:
> though you can set flags in the regex (?m).

I did not really succeed to use it. (I found the 
http://www.geany.org/manual/gtk/glib/glib-regex-syntax.html page.)

Neither of these worked:
(?m)[^Q]*Q
(?s)[^Q]*Q
(?-m)[^Q]*Q
(?-s)[^Q]*Q

-- 
Péter




More information about the Users mailing list