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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.