«ruby-1.9.3 -e ‘puts “\n” =~ /\R/ ? “yea” : “nay”’» ☞ nay
«ruby-2.0.0 -e ‘puts “\n” =~ /\R/ ? “yea” : “nay”’» ☞ yea
It’s yucky that there isn’t a syntax error in v1.9.3, but I’m glad to get \R support in v2.
Music-obsessed software geek. One of Breakmaster Cylinder’s Internet weirdos. He/him.
«ruby-1.9.3 -e ‘puts “\n” =~ /\R/ ? “yea” : “nay”’» ☞ nay
«ruby-2.0.0 -e ‘puts “\n” =~ /\R/ ? “yea” : “nay”’» ☞ yea
It’s yucky that there isn’t a syntax error in v1.9.3, but I’m glad to get \R support in v2.