From: nobu.nokada@... Date: 2003-05-31T16:28:45+09:00 Subject: Re: regexp operators Hi, At Sat, 31 May 2003 08:59:45 +0900, Wesley J Landaker wrote: > Mine also does the + and | operators, as well, though; I'm not sure if > that's universally useful. As for +, is it right to just concatinate them? Regexp#| is provided in lib/eregex.rb. And you can see also . > Looks like 1.8 still doesn't catch encoding flag in this case; there > doesn't appear to be any '(?' prefix that changes encodings, though, > which would be a prerequisite. (Personally, I'm happy with UTF-8. ;) Current regexp engine (and perhaps Oniguruma too) can not mix encodings. Well, would it be better to preserve it and raise an exception when it doesn't match? -- Nobu Nakada