Why is aa*b - aa*ab return 0?


#1

a a* (one time) b
a (a* - zero times) a b

what am i missing?


#2

Mostly string A is non-regex. It is just a simple string.