Regex matching533567

https://ide.codingblocks.com/s/64753
https://hack.codingblocks.com/practice/p/346/1064
3 test cases not passed.

Hi AASTHA, pls see that your code is failing for testcases of type:

// Input
abca
ab*a

// Expected Output
0

// Your Output
1

Pls handle the above and other corner cases as well.
Hope this helps :slight_smile: