Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0
-
None
Description
would it be possible to add the perl-like "=" and "!" operators to JEXL ?
to be used like:
-----------------------------
str="this is in here";
if(str =~ 'is\s+in')
{
// true here
}
-----------------------------
or the simple (true) expressions:
"this is in here" =~ 'is\s+in'
"this is in here" !~ 'not'
i know i could use "str.match(pattern)" but for simple users of an application that like to enter simple expressions "=" and "!" would do it without learning java string object methods.