[Mono-list] regular expressions for parsing .Net languages

Shahms King shahms@shahms.com
20 May 2003 12:48:24 -0700


On Tue, 2003-05-20 at 10:35, Andrew Jackson wrote:
> Hi,
>  
> I was just wondering if anybody out there can tell me where i can find
> regular expressions for parsing languages like c#, vb.net etc.....
>  
> Thank you in advance.
>  
> Andrew Jackson

C# and VB.Net are not "regular languages" and as such cannot be
completely parsed by any regular expression.  You can probably come
pretty close with a really long and really ugly RE, but I wouldn't
recommend it.

-- 
Shahms King <shahms@shahms.com>