It is not work using OR in regular expression (e.g. (ABC|CDE) ) for searching in the file.
Is Notepadd++ not support this, or something else?
I am not sure, but I think not. You could search in another way.
It's not the best but you should also find the correct words.
This is no solution and a worse style.
why you don't support the standard with abc|xyz?
I agree. Why must every program have its own interpretation of what regular expression is?
N++ should adopt the closest to widely used standard (POSIX?) to regex.
It' scintilla and not notepad. I am agree, too! But all Editors with scintilla uses this regex style. An additional implementation for PCRE or other libs takes time.
How about using scintilla with PCRE? It seems that scintilla now supports different egex engines (see http://www.scintilla.org/ScintillaDoc.html "Building with an alternative Regular Expression implementation").
+1! I've been thinking this for a long while, and it'd be awesome to see some follow-up for it. I hate having to start up RegexBuddy just because I have to do a search/replace that's too complicated for Scintilla's engine. Could we please get some push for this in the main build?
Thanks for your reply.
But [A-E] only search the single character, I want to search the whole world, i.e. (world1|world2).
Yea, you are correct. Therefore try this:
Followup: I managed to "borrow" the Regex engine from Programmers notepad ( http://www.pnotepad.org/ ) which uses boost::xpressive. In particular, I built SciLexer.dll using http://pnotepad.googlecode.com/svn/trunk/pnwtl/scintilla/RegexSearch.cpp and thus replaced Scintilla's own RESearch. Hope to see this in the Notepad++ trunk one day.
However, I see the boost header in "RegexSearch.cpp".
How do you link with boost library (dynamic or static) ?
Isn't Change Markers doing that already?
can you kindly provide more details of how you did it?
thank you - Lorenzo -
I came her from the ideatorrent (https://sourceforge.net/apps/ideatorrent/notepad-plus/ideatorrent/idea/13/), but where is the dll file?
gerdb42, did you post it somewhere?
Or how can I implement PCRE in N++ ?
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.