Re: Attributes with dashes
Olaf Buwen <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
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 >