[Petal] Attributes with dashes

Olaf Buwen olaf at buwen.de
Tue Jan 4 22:08:56 GMT 2005


Oops, I really missed that point, you are right!

William McKee schrieb:
> On Tue, Jan 04, 2005 at 09:04:37PM +0100, Olaf Buwen wrote:
> 
>>is rather close to the "perfect" solution, just escape the "." to
>>	/^\s*([A-Za-z_:][A-Za-z0-9_:\.-]*)\s+(.*?)\s*$/
> 
> 
> I'm pretty sure that's not necessary inside of []. See Camel p.64 (2nd
> ed).
> 
>   "Note that most other metacharacters lose their meta-ness inside
>   square brackets."
> 
> 
> William
> 


More information about the Petal mailing list