Issue Type: Bug Bug
Affects Versions: 3.x
Assignee: Unassigned
Components: Core
Created: 09/Jun/13 3:08 PM
Description:

When org.jbehave.core.steps.PatternVariantBuilder#variantsFor is called, the following regex is used -

 "(.*?)?(\\{((.*?)(\\|)?)*?\\})(.*)"

.
Matching with this regex can be very lengthy and CPU intensive when there is an unmatched curly bracket for example, like here:

create entity of type $entityType {set properties $propertyNames to values $propertyValues
Project: JBehave
Priority: Minor Minor
Reporter: Victor Rosenberg
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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