From: ts Date: 2003-04-27T21:05:29+09:00 Subject: Re: Regexp and $ >>>>> "B" == Brian Candler writes: B> This means the description "$ matches end of string or before \n" is wrong B> for Ruby. In fact, I'm not sure *what* exactly $ matches. Can anybody give B> me a description of what $ matches in Ruby? $ match before \n or the end of string if it's not \n B> I think this difference in behaviour is unfortunate, as I consider that "^" B> and "$" are part of the lowest-common-denominator of regexp behaviour which B> ought to be reasonably portable. Why use the broken P implementation ? Guy Decoux