starting to sort out like/matches. Matches is the java regex related one. Like is the SQL related one. But the spring .net 'like' doesn't seem to be the same as the SQL doc I found for like...
This commit is contained in:
@@ -23,4 +23,6 @@ Syntax
|
||||
So 'l'.charAt(0) was required - wonder if we can build in a converter for a single length string to char?
|
||||
Can't do that as equals take Object and so we don't know to do a cast in order to pass a char into equals
|
||||
We certainly cannot do a cast (unless casts are added to the syntax). See MethodInvocationTest.testStringClass()
|
||||
|
||||
- MATCHES is now the thing that takes a java regex. What does 'like' do? right now it is the SQL LIKE that supports
|
||||
wildcards % and _. It has a poor implementation but I need to know whether to keep it in the language before
|
||||
fixing that.
|
||||
|
||||
Reference in New Issue
Block a user