Regular expression to match the below cucumber steps
Given I login to system
Given login to system
Given user attempts to login to system
Given I attempt to login to system
Given attempts to login to system
This one Should fail - user or I or BLANK are valid but not he or other words
Given he login to system
I tried the below one but no help.
Given(/(?: user|I?)?(?: attempts to)? login to system/, function () {});