At the simplest level, a regular expression is no different to the text you type into the edit field of a Find dialog. I think it is safe to assume that anyone who has used a modern computer will have used Find and/or Replace dialogs in more than one application that allows text processing, whether it is Notepad, a word processing program, or a web browser.
Line and column displayed in status bar - MainFrm.cpp, called from notepadre.cpp.If the file you are editing is changed by another process, you have the option of being asked if you want to reload - notepadreDoc.cpp.Find will wrap from bottom to top - or top to bottom, depending on search direction - if necessary - notepadreDoc.cpp.Dockable Find and Replace dialogs - MainFrm.cpp.GREP/Find in Files capability - FindInFilesDlg.cpp.Find and Replace in normal mode - notepadreDoc.cpp.Find and Replace using regex - notepadreDoc.cpp.This is much quicker than replacing every match in the edit window as you go along.Īs the development of Notepad RE progresses, more sophisticated features are being added. Replace All is improved compared to normal Notepad, as it builds a new text file in memory and replaces the entire text at once when it has finished. Note that the intention is for the boost::regex library to eventually become part of the C++ Standard Library. The boost::regex library is used for regex support.
The main feature is that you can Search and Replace optionally using regular expressions.