Re: Attributes with dashes
William McKee <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
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 -- Knowmad Services Inc. http://www.knowmad.com