[rules-users] rule name regular expression

hypnosat7 ablarbi at yahoo.fr
Thu Aug 2 03:27:21 EDT 2007


No I mean how can I check the validity of the rule names before put it in a
DB, maybe I have to look to DRL.g grammar file ?
is it this :

ID	
	:
('a'..'z'|'A'..'Z'|'_'|'$'|'\u00c0'..'\u00ff')('a'..'z'|'A'..'Z'|'_'|'0'..'9'|'\u00c0'..'\u00ff')* 

thanks



Mark Proctor wrote:
> 
> There is no regexp for this. Easiest thing to do is make a package with 
> a single rule in it and pass it into a packagebuilder session.
> 
> Mark
> hypnosat7 wrote:
>> Hi,
>>   When can I find the regular expression to check the validity of a rule
>> name ?
>> thanks
>>   
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> 

-- 
View this message in context: http://www.nabble.com/rule-name-regular-expression-tf4201280.html#a11959690
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list