Hi all,

I have a use case where I need to retrieve data from an aggregation using
regex.

The exact scenario is that I have a comma separated string, where I need to
retrieve data if one of the comma separated value is matching a string.

I used String tokenizer to tokenize the comma separated values, but then it
will create duplicate events, hence aggregate values can be misleading. If
we can match regex this can be avoided.

I had a discussion with @Niveathika Rajendran <[email protected]> about
the matter, and what I learnt is that the "on" clause in siddhi matches the
strings using "equals" function in Java, hence regex might not work.

Can we enhance it to match regex ? Or is there any workaround for this ?

As per my understanding, it will be a huge load in the front end, if we
process this in the front-end side. Is it okay to process it in the front
end?

Please comment.

-- 
Thanks and Best Regards,
Thisaru Guruge
Software Engineer
Mobile: +94 71 720 9720


WSO2 Inc.: http://www.wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to