From: Richard Wiseman Date: 2006-09-19T22:55:17+09:00 Subject: Re: Unicode and Character Classes -- a bug? Jordan Callicoat wrote: > /^[x#{"\xa3"}]?[A-Z]$/ # note the interpolation > > There might be another solution, hopefully so, but this should at least > work if nothing else turns up. I hadn't thought of that one - thanks for the suggestion! The simplest (working) alternative I could think of was the parenthesised list of individual characters as shown in the first half of the example code. -- Posted via http://www.ruby-forum.com/.