Re: How to select multiple lines

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

The following regexp from Philippe Poilbarbe works fine :
"module\s+(?n.*?)endmodule"

I am not sure to understand the reason why it works. Should it be read as :
I search for "module" followed by at least one space or tab followed by
0 or more of any character including newline preceding "endmodule".  The
number of character including newline preceding "endmodule" should be as
small as possible (? keyword).

Thank you.

Eric.
-- 
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.