|EVL validation error [message #674320]
||Thu, 26 May 2011 09:50
Registered: October 2009
I'd like to apply a regular expression to a rule by evl.i typed:|
check : self.attribute.isDefined() and self.attribute.asString().matches('\w*:\w*')
message : 'Empty attribute is not allowed at '+self.Name + ' component'
but i am getting an error while i am typing the rule at the line where the chech rule is defined.How can i apply regular expressions with matches function?
Powered by FUDForum
. Page generated in 0.02131 seconds