AW: [Mono-devel-list] Regular expression problem with characters '{' and '}'

Jörg Rosenkranz joergr at voelcker.com
Thu Jan 15 11:29:18 EST 2004


Hello Eric,
 
I'm trying to capture the braces as literal characters, i.e. in the string "{test}"
and have forgotten to mask them. MS captures this string using "{\w+}", Mono 
throws an exception.
 
Joerg.

	-----Ursprüngliche Nachricht----- 
	Von: Eric Durand-Tremblay [mailto:erdut2 at ift.ulaval.ca] 
	Gesendet: Do 15.01.2004 17:20 
	
	

	Correct me if I am wrong, but the only usage of braces, as you say, is
	for quantifiers ;
	{n} {n,} {n,m} {n}? {n,}? {n,m}?
	where 'n' and 'm' are integer.
	
	What exactly are you trying to do.  Capturing group are between ()  
	and non-capturing (?: )
	
	I could be tempted to say that it is MS misbehaving but who am I to say
	so....
	
	Eric Durand Tremblay
	University Laval
	
	
	
	



More information about the Mono-devel-list mailing list