Support for pattern variants

Hey, this is the fox for https://github.com/witspirit/IntelliJBehave/issues/18