[ 
http://jira.codehaus.org/browse/JBEHAVE-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226734#action_226734
 ] 

Szczepan Faber commented on JBEHAVE-312:
----------------------------------------

+1 

I don't use jBehave in anger (however, I do use other tool that is very similar 
and I would like to move to jbehave). I cannot imagine a use case when I want 
the regexp groups to be greedy. Again, I'm a newbie so don't listen to me too 
much...

> 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


Reply via email to