Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
(?mi:(?<=^(([^'"\n])|("[^"]*"))*[\t ])_(?=\s*$))
|
Description |
looks for line concantenation character "_" in vb/vb.net source files.
1) It must be preceded by at least one space or tab.
2) It must be at the end of the line (okay if followed by whitespace)
3) And it must not be in commented code
Used expression at http://www.regexlib.com/REDetails.aspx?regexp_id=371 for inspiration.
|
Matches |
<XmlAttribute("xml-att")> _ | Sub WillGetThis() _ | "will ' get this" _
|
Non-Matches |
' Won't get this _ | Sub wontGetThis()_ | "won't get this " _ "bad code"
|
Author |
Rating:
Not yet rated.
Christopher Strolia-Davis
|
Displaying page
of
pages;
Items to