#!/bin/bashrx='^\[(['"'"'"])[^'"'"'"]*\1]$';[[ $s =~ $rx ]] && echo "Matched!" || echo "No match!";
Standard input is empty
No match!
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!