[
http://jira.codehaus.org/browse/JBEHAVE-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232636#action_232636
]
Mauro Talevi commented on JBEHAVE-312:
--------------------------------------
The prioritisation strategy is now configurable in 3.x:
http://jbehave.org/reference/latest/prioritising-steps.html
> Configuration option for non-greedy matchers for steps
> ------------------------------------------------------
>
> Key: JBEHAVE-312
> URL: http://jira.codehaus.org/browse/JBEHAVE-312
> Project: JBehave
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.5
> Reporter: James Ravn
>
> The biggest sore point for my team are the greedy reg-ex matchers for step
> prose.
> This was somewhat solved in another ticket which added a {{priority}} field
> to the annotation.
> However, this does not scale well with a large amount of steps. It's
> unmanageable, and a bit ugly, to have to worry about a global priority number.
> This problem would be best fixed if the reg-ex matcher was simply non-greedy.
> A usable solution, I think, would be to provide a configuration option in the
> StepsConfiguration to enable this.
> (On a side note, you may want to consider moving to a feature rich templating
> language like velocity).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email