RUBY-10218 Cucumber does not always follow references properly when using expression substitution in a step definition's regex
(cherry picked from commit 2d7d28d)