From: Robert Dober Date: 2009-04-07T22:22:37+09:00 Subject: Re: regex select multiple words in the middle of a sentence On Tue, Apr 7, 2009 at 1:49 PM, Matthias Reitinger wrote: > Robert Dober wrote: >> With 1.9's Oniguruma (is it available for 1.8?) it's quite easy > > Yes[1]. > > -Matthias > > [1]: http://oniguruma.rubyforge.org/ > > Matthias thx a lot for the link! Just another thing for OP, I just filed a bug report about the POSIX character classes, thus I discourage you to use [:lower:] and [:upper:]. However, it seems that \p{Lower} and \p{Upper} work nicely if you need unicode support. Cheers Robert -- There are some people who begin the Zoo at the beginning, called WAYIN, and walk as quickly as they can past every cage until they get to the one called WAYOUT, but the nicest people go straight to the animal they love the most, and stay there. ~ A.A. Milne (from Winnie-the-Pooh)