$><<[*?0..?[].join.gsub(/[^ABC321STPpJqZZr0]/i,$/).gsub(/\B.+\B/,?-).scan(/.-.|./)*', '
Standard input is empty
0-3, A-C, J, P-T, Z
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!