p ('a'*500 + 'b'*500).match(/a.*b.*c/)
Standard input is empty
nil
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!