You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PythonScript/src/ScintillaPython.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ BOOST_PYTHON_MODULE(Npp)
34
34
.def("replace", &ScintillaWrapper::replacePlain, "Simple search and replace. replace(searchFor, replaceWith[, flags]) where flags are members of Npp.FIND")
35
35
.def("replace", &ScintillaWrapper::replacePlainFlags, "Simple search and replace. replace(searchFor, replaceWith[, flags]) where flags are members of Npp.FIND")
36
36
.def("rereplace", &ScintillaWrapper::replaceRegex, "Simple regular expression search and replace (using Notepad++/Scintilla regular expressions). rereplace(searchExpression, replaceString[, flags]) Use Npp.FIND for the flags")
37
-
.def("rereplace", &ScintillaWrapper::replaceRegexFlags, "Simple regular expression search and replace (using Notepad++/Scintilla regular expressions). rereplace(searchExpression, replaceString[, flags]) Use Npp.FIND for the flags")
37
+
.def("rereplace", &ScintillaWrapper::replaceRegexFlags, "Simple regular expression search and replace (using Notepad++/Scintilla regular expressions). rereplace(searchExpression, replaceString[, flags]) Use python re module for the flags")
38
38
/*.def("pyreplace", &ScintillaWrapper::pyreplace, "Python regular expression search and replace. Full support for Python regular expressions. Works line-by-line, so does not require significant memory overhead, however multiline regular expressions won't work (see pymlreplace). editor.pyreplace(search, replace[, count[, flags[, startLine[, endLine]]]]). Uses the python re.sub() method.")
39
39
.def("pyreplace", &ScintillaWrapper::pyreplaceNoFlags, "Python regular expression search and replace. Full support for Python regular expressions. Works line-by-line, so does not require significant memory overhead, however multiline regular expressions won't work (see pymlreplace). editor.pyreplace(search, replace[, count[, flags[, startLine[, endLine]]]]). Uses the python re.sub() method.")
40
40
.def("pyreplace", &ScintillaWrapper::pyreplaceNoFlagsNoCount, "Python regular expression search and replace. Full support for Python regular expressions. Works line-by-line, so does not require significant memory overhead, however multiline regular expressions won't work (see pymlreplace). editor.pyreplace(search, replace[, count[, flags[, startLine[, endLine]]]]). Uses the python re.sub() method.")
voidreplaceRegexFlags(boost::python::object searchStr, boost::python::object replaceStr, int flags);
79
79
80
80
voidreplaceImpl(boost::python::object searchStr, boost::python::object replaceStr, int count, NppPythonScript::python_re_flags flags, int startPosition, int endPosition);
0 commit comments