[FrameworkBundle] fix routing container parameter exception message

also improve regex performance and fix implementation-specific written tests and typo