remove useless regexp

match left or top return null,it's same. also 0%.

remove outer capturing parentheses too. more efficient