#!/bin/bashfile="Youtube Movie.part01.rar"regex='part(0*[2-9][0-9]*|0*1[0-9]+)\.rar'if ! [[ $file =~ $regex ]]then echo "anything"fi
Standard input is empty
anything
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!