How to select multiple lines
Eric Bouyoux
eric.bouyoux at insidefr.com
Tue Sep 8 16:10:12 CEST 2009
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.
More information about the Discuss
mailing list