Re: How to select multiple lines

Eric Bouyoux <eric.bouyoux-Umy9UjvE/gtWk0Htik3J/[email protected]>
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
Hi,

Thank you for all the explanations.
I knew I could use keywords (module and endmodule) and then the ^M key
(go to matching).
These 2 keywords are not recognized in my nedit environment but I know
how to make it work.
But I wanted something more general such as Matthijs van Aalten's
regular expression in a "Replace" window  "(?n(^module toto
;\n).*(^endmodule\n))" but it does not exactly works the way I want. It
starts from the first "module" found and goes to the very last
"endmodule" in the file. I want it to stop at the FIRST "endmodule"
encountered.
I tried several changes in the reg exp but I could not make it work.
Any idea ?

Regards.

Eric Bouyoux.
-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.