app/assets/javascripts/semantic-ui/modules/behavior/form.js in semantic-ui-rails-0.13.0 vs app/assets/javascripts/semantic-ui/modules/behavior/form.js in semantic-ui-rails-0.13.1
- old
+ new
@@ -401,10 +401,10 @@
var
$field = module.get.field(field.identifier),
type = validation.type,
value = $.trim($field.val() + ''),
- bracketRegExp = /\[(.*?)\]/i,
+ bracketRegExp = /\[(.*)\]/i,
bracket = bracketRegExp.exec(type),
isValid = true,
ancillary,
functionType
;