Path: utzoo!attcan!uunet!cs.utexas.edu!usc!jarthur!bridge2!mdb From: mdb@ESD.3Com.COM (Mark D. Baushke) Newsgroups: comp.lang.perl Subject: Re: unpack and endianness Message-ID: Date: 10 Oct 90 15:28:56 GMT References: <9821@jpl-devvax.JPL.NASA.GOV> <885@usage.csd.unsw.oz.au> <9847@jpl-devvax.JPL.NASA.GOV> Sender: news@bridge2.ESD.3Com.COM Distribution: comp Organization: 3Com Corp., Santa Clara, CA. Lines: 23 In-reply-to: dale@convex.com's message of 9 Oct 90 17:20:43 GMT On 9 Oct 90 17:20:43 GMT, dale@convex.com (Dale Lancaster) said: Dale> In <9847@jpl-devvax.JPL.NASA.GOV> lwall@jpl-devvax.JPL.NASA.GOV Dale> (Larry Wall) writes: >Because . doesn't match \n. [\0-\377] is the most efficient way to match >everything currently. Maybe \e should match everything. >And \E would of course match nothing. :-) >Larry Dale> I would rather see \* match everything and \e be ESC as it is in Dale> other utilities. And maybe \!* matches nothing? :-) Dale> dml Please do not create any non-alphanumeric metacharacters. It would break the quoting of a pattern that might contain metacharacters using $pattern =~ s/(\W)/\\$1/g; -- Mark D. Baushke mdb@ESD.3Com.COM