public static void main(String[] args) {
   RegularExpressionMatching test = new RegularExpressionMatching();
   System.out.println(test.isMatch("aa", "a")); // --> false
   System.out.println(test.isMatch("aa", "aa")); // --> true
   System.out.println(test.isMatch("aa", "aaa")); // --> false
   System.out.println(test.isMatch("aa", "a*")); // --> true
   System.out.println(test.isMatch("aa", ".*")); // --> true
   System.out.println(test.isMatch("ab", ".*")); // --> true
   System.out.println(test.isMatch("aab", "c*a*b*")); // --> true
   System.out.println(test.isMatch("ab", ".*c")); // --> false
 }
 public static void main(String[] args) {
   // TODO Auto-generated method stub
   RegularExpressionMatching test = new RegularExpressionMatching();
   System.out.println(test.isMatch("0", "0*"));
 }