afs opened a new issue, #1666:
URL: https://github.com/apache/jena/issues/1666

   ### Version
   
   4.6.1
   
   ### Feature
   
   `LIKE` provides glob matching of strings.
   
   It is simpler; regular expressions with escaping and meta characters can be 
offputting.
   
   `LIKE("ABCDE...XYZ", "AB*Z")` is true.
   
   There are two cases of glob string matching.
   
   Most SQL system have `LIKE` and use `_` and `%`  - and these provide 
character ranges `[abcde]` or `[a-z]`, negated ranges `[^... ]` but there is 
also filename matching, and programming libraries, using `*` and `?` and 
sometimes support of character ranges.
   
   Glob matching is anchored. 
   
   A flag, c.f. `REGEX` would be allowed; there is only one valid flag,"i" 
(case insensitive).
   
   The old Apache ORO codebase has a "glob to regex" converted.
   
   There are java code libraries for just `*` and `?` (e.g. Apache Commons-IO 
`FilenameUtils.wildcardMatch`).
   
   
   ### Are you interested in contributing a solution yourself?
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to