perlの正規表現なら再帰的な構造にマッチすることもできなくはないよ $ echo '(((a)),(b))'|perl -pe 'if(m/(\((?:[a-z]|(?1))(,(?:[a-z]|(?1)))*\))/){$_="found\n"}'
8:06 PM - 25 Oct 2014
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.