Glen Holcomb wrote in post #1016060: > I'm running 1.9.2-p180 > > I have the following regexp: /\s(".*?")(\s|$)/ > > For some reason it isn't matching the end of the following line or any > line > with a similar format. By end I mean the entire user-agent string > It's pretty simple: $ matches before a newline--not the end of a string. I -- Posted via http://www.ruby-forum.com/.