From: Michael Shigorin Date: 2003-03-29T23:40:27+09:00 Subject: Re: new 1.8-snapshot regex warning On Sat, Mar 29, 2003 at 09:33:34AM +0900, Yukihiro Matsumoto wrote: > |regex = /[a-zA-Z_-]/ > |warning: character class has `-' without escape > It's not accidental. See ruby-dev summary next week. But I > now think it may be better to allow "-" at top or bottom of > character classes. Seems that it's the "usual" way of handling it, as per ed(1) (don't have POSIX at hand %) -- so why break. -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/