/A++A/ and /A+A/ # /A++A/ should never find a match, as A++ prevents A from being matched after it.