Re: [rules-users] DSL regex support

2007-10-24 Thread Adam Lewandowski
Edson Tirelli wrote: The first 2 pairs of [] have special semantics for the engine. After them, you can place your regexps. This worked, thanks! ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-

Re: [rules-users] DSL regex support

2007-10-23 Thread Edson Tirelli
Adam, just use the metadata brackets leaving them blank. This should work: [when][][Ff]act value is "{value}"= SomeFact( value == "{value}") The first 2 pairs of [] have special semantics for the engine. After them, you can place your regexps. []s Edson 2007/10/23, Adam Lewandowski

[rules-users] DSL regex support

2007-10-23 Thread Adam Lewandowski
I just upgraded to 4.0.3 and want to take advantage of regex support for my DSL. Specifically, I want to be able to use a character class at the start of my expander expression to allow the first character to be case insensitive. For example (in the expander definition): [when][Ff]act value is