Is the following a bug, or a feature I'm using improperly?
I'm using Lua to find occurrences of lines which begin with the character "[", via the call editor:findtext(pattern,SCIFIND_REGEXP,position), where pattern is the string "^\[". This is not working, even if I omit the anchor "^" from the pattern. (The code in which this embedded IS working properly, since I can replace pattern with other search strings successfully.) In order to succeed, I had to resort to the pattern "^[[-[]" instead. Preliminary googling doesn't turn up any discussion of regexp bugs for Scintilla/SciTE. The documentation does seem to indicate that "[" is a character which can be correctly escaped via "\". (I'm on SciTE v. 1.72 on Windows XP, using the Sc1.exe binary.) Thanks, GF _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
