Path: utzoo!attcan!uunet!wang!comm.wang.com!lws From: lws@comm.wang.com (Lyle Seaman) Newsgroups: comp.lang.perl Subject: Re: ' in character class (SUMMARY) Message-ID: <1990Aug13.122955.23925@comm.wang.com> Date: 13 Aug 90 12:29:55 GMT References: <1990Aug11.001936.16075@comm.wang.com> <9115@jpl-devvax.JPL.NASA.GOV> Organization: Wang Labs, Platform Comms. Lines: 13 Problem solved. As one responder pointed out (thanks again Tom), rearranging the character class [\w\.\-\'] to be [\w\'\.\-] circumvents the problem. This is ostensibly because ' is before . in the ASCII collating sequence. Larry, can this be true? I haven't seen that documented anywhere, doncha think that's kind of subtle? Larry Wall said that the problem was due to a bug in the handling of \- which is fixed in PL 27. Could that bug be successfully circumvented in the fashion described above? -- Lyle Wang lws@comm.wang.com 508 967 2322 Lowell, MA, USA uunet!comm.wang.com!lws