April White wrote:

I want to write a Lua script that will do a regex search on the current document, returning all lines that contain the search string, passed through the parameter properties. ... for m in editor:match( "^.+" .. props["1"] .. ".+$", SCFIND_REGEXP, 0) do
...
But it does not find antthing.

Nevermind :-( The search word was at the start of the lines, so I need to use .* not .+

April

--
Don't go away mad, just go away...

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to