| Title |
Test
Find
VB.NET or VB Comments
|
| Expression |
(REM [\d\D]*?[\r\n])|(?<SL>\'[\d\D]*?[\r\n]) |
| Description |
Filters out VB.NET and VB6.0 comments. |
| Matches |
REM comment | 'comment | ''' XML comment |
| Non-Matches |
REMA | text='test' |
| Author |
Rating:
Punit Ganshani
|
| Source |
Self |
| Your Rating |
|
Title: Inside strings
Name: Pucsi
Date: 6/19/2008 9:50:07 AM
Comment:
Cannot handle cases when a comment like sequence is inside a string.
Example:
MessageBox.Show("After this ' this expression fails")
MessageBox.Show("After this REM this expression fails")
Title: Inside strings
Name: Pucsi
Date: 6/19/2008 9:49:53 AM
Comment:
Cannot handle cases when a comment like sequence is inside a string.
Example:
MessageBox.Show("After this ' this expression fails")
MessageBox.Show("After this REM this expression fails")