Andrew Johnson wrote:
> 
> You can use look-aheads to build a re that looks like:
> 
>   /^(?=.*\bone\b)(?=.*\btwo\b)(?=.*\bthree\b)/
> 
> ensuring a match only if all look-ahead assertions pass.
> 

Awesome!  I'll give it a try.

Thanks a lot.
Jeff

-- 
Posted via http://www.ruby-forum.com/.