Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!wang!comm.wang.com!lws From: lws@comm.wang.com (Lyle Seaman) Newsgroups: comp.lang.perl Subject: ' in character class Message-ID: <1990Aug11.001936.16075@comm.wang.com> Date: 11 Aug 90 00:19:36 GMT Organization: Wang Labs, Platform Comms. Lines: 12 Isn't there some way to get a ' into a character class? I want to to do something like: /[\w\.\-\']+/ ie, match a string of alphanumerics, periods, hyphens and apostrophes. But PERL always complains. If somebody could explain what that sequence above really means, and/or how I can what I want, I'd be most grateful. -- Lyle Wang lws@comm.wang.com 508 967 2322 Lowell, MA, USA uunet!comm.wang.com!lws