S
S
SOTVM2018-04-06 18:53:18
IDE
SOTVM, 2018-04-06 18:53:18

Geany multiline search not working?

the rule does not work <style>(.*)</style>, it finds it only if there is no line break,
I thought it was not the correct syntax with regular expressions (I'm just used to Notepad ++, it works in it.)
I tried everything differently, until I was smart enough to try just .*
I thought the problem was in the software - downloaded from offsite sources / compiled v1.33 (I had turnip 1.27)
but it didn’t solve anything, is it a bug or do I have hook hands?
and another question:
is it possible in Geany, as in Notpad ++

"perform such machinations" with the replacement ?
5ac796836731c525107824.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sergey, 2018-04-10
@sotvm

let it be
In Geany and Npp different engines of regular expressions, in them the dot works differently with spaces. So for multi-line search, instead of (.*) you need to write ([\s\S]*).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question