remove abstract class regex

Looks like there is something that does the job for this too.
exclude vendor's vendors and vendor's Tests