From: "Morris, Chris" Date: 2001-10-25T23:23:30+09:00 Subject: [ruby-talk:23297] Re: RegExp question > > I essentially would like to re-define the set that \w uses > then I could > > simply use: > > > > /\w+/ > > You could do something like > > /[\w:,.]+/ > > to match one or more word characters, colons, commas or periods. Is > that the kind of think you wanted? Yeah, dang it. Seems obvious now. I was thinking it needed to be something like: /[\w|:|,|.]+/ ... but I see now why that's different. Thanks!