XhmikosR / notepad2-mod

LOOKING FOR DEVELOPERS - Notepad2-mod, a Notepad2 fork, a fast and light-weight Notepad-like text editor with syntax highlighting
https://xhmikosr.github.io/notepad2-mod/
Other
1.45k stars 270 forks source link

Multiline regular expressions #148

Open lauda opened 8 years ago

lauda commented 8 years ago

Notepad2 cannot find regular expressions like this: ^[\n]+\n

I thought that this restriction of Scintilla, but, for example, Programmer's Notepad (http://www.pnotepad.org/) processes such expressions.

White-Tiger commented 8 years ago

it's a known issue (see the "?" right next to regex)

Notepad2 is currently missing multiline regular expressions and as far as I remember, it's indeed an Scintilla limitation.

Further, it seems like "Programmer's Notepad" has to circumvent it as well: https://github.com/simonsteele/pn/blob/master/pnwtl/scintilla/RegexSearch.cpp

Yet I would also like multiline regex for Notepad 2 ;) I miss this feature quite often... (and did so in Notepad++)

lauda commented 8 years ago

I have no idea about relation between http://www.pnotepad.org/ and https://github.com/simonsteele/pn/ but pn.exe from http://www.pnotepad.org/ processes multiline regexps, it's exact

klonos commented 8 years ago

At the top right corner of http://www.pnotepad.org there's a "Fork me on GitHub" link that leads to https://github.com/simonsteele/pn/ ...it is the official GitHub repository of the project. It's the same.

blackcrack commented 8 years ago

humm, an bit pity , anyone work for it self and become more and more like an pont, lake and an at end an ocean and any want have his own version.. instead working together and make one Notepad2 again.. and at end, can you kick at all in the trash, because all be no more this was it was .. :\

gaborbit commented 8 years ago

+1 I still hope ;)