David M. Miller:

 As a user of Notepad++ on Windows (regrettably, my day job lately is a
Windows environment), which is a Scintilla-based editor, I have frequently
noticed that the regexp support is very limited.

  Downstream projects should use regular expression libraries
suitable to the needs of their users rather than Scintilla's built-in
regular expression code. The regular expression support within
Scintilla is only suited to simple uses and initial development.

For instance it cannot
replace repeated blank lines with a single blank line, as perl can do:

     s/\n{3,}/\n\n/

  That would fail in Scintilla even if using PCRE since Scintilla's
use of the regular expression library is line-oriented. That is, a
regular expression can not match over a line end.

 Why not implement the pcre library (perl compatible regular expressions)?

  Too large of a dependency and this would only shift the problem to
"why do we have to use PCRE"?

  Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to