At this time, there is no such feature. May I ask you please to open a
JIRA feature request for it?
The way I see it, we would need to create a feature to allow binding of
variables to arbitrary expressions in the LHS and allow this binds to be
used in the RHS.
[]s
Edson
2007/9/22
On 9/22/07, Edson Tirelli <[EMAIL PROTECTED]> wrote:
>
>Sorry, nope. Is there a use case for that?
>
For instance, I'd like to write a rule where I need to be alerted of
all facts where a specific field is of the form "(.*)Suffix". The
action I'm then taking requires the "(.*)" as a parameter
Sorry, nope. Is there a use case for that?
[]s
Edson
2007/9/22, Godmar Back <[EMAIL PROTECTED]>:
>
> Hi,
>
> is there a syntax to capture the match(es) from a regular expression
> inside a "matches" condition in a when statement, similar to
> Matcher.group(int) in Java's regexps or $1, $
Hi,
is there a syntax to capture the match(es) from a regular expression
inside a "matches" condition in a when statement, similar to
Matcher.group(int) in Java's regexps or $1, $2, $3 in Perl work?
Thanks.
- Godmar
___
rules-users mailing list
rules-