From: Aldric Giacomoni Date: 2009-11-19T23:54:54+09:00 Subject: Re: How to strip ruby comments in a ruby line of code? Alexandre Mutel wrote: > Expecting is : line = "#{args}" > > In order to strip comments using regexp, you need to handle string > escape. Ah.. What if the only '#' isn't a comment. Good point. -- Posted via http://www.ruby-forum.com/.