Apart from Javascript's ^ and $ being equivalent to Ruby's \A and \z, what other subtle differences are there between the two regular expression engines?
I'm looking for subtle differences where the same regex might behave differently, for example /^abc$/ will match this in Ruby:
123
abc
def
But it won't match in Javascript.