RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Pattern Title
Expression
(?mi:(?<=^(([^'"\n])|("[^"]*"))*[\t ])_(?=\s*$))
Description
looks for line concantenation character &quot;_&quot; 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 1 of 1 pages; Items 1 to 1

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials