RUBY-10218 Cucumber does not always follow references properly when using expression substitution in a step definition's regex