Gene Kahn wrote:

>Hello,
>
>Because of the embedded single quote, this statement does not work.  
>
>%w[it's you're they're]
>
>Escaping it with the backslash does not work either:
>
>%w[it\'s you\'re they\'re]
>
>How do I escape the single quote and other special characters in this instance?
>
>Thanks!
>gk
>
Maybe what you need to do is escape the spaces.

irb(main):001:0> %w[it's\ you're\ they're]
=> ["it's you're they're"]

-- 
David N. Springer                     Phone: (715) 830-1200  Ext. 126
Silicon Logic Engineering, Inc.       FAX:   (715) 830-1887
7 South Dewey Street, Suite 1         Mailto:springer / siliconlogic.com
Eau Claire, WI 54701                  Web:   http://www.siliconlogic.com