a="aasdfolkj"b="aasdfolkj" p !!(a+b=~/^(#{a})\1$/) a="aasdfolkj"b="aasfolkj" p !!(a+b=~/(#{a})\1$/)
Standard input is empty
true false
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!