gitgabrio commented on issue #1409:
URL: 
https://github.com/apache/incubator-kie-issues/issues/1409#issuecomment-2299059394

   @yesamer @bncriju 
   
   this syntax is invalid for java Pattern
   `[A-Z-[OI]]`
   and correct one is
   
   `[A-Z&&[^OI]]` (see **_Character classes_** in 
[docs](https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html))
   
   So, here the problem is to verify the syntax and, eventually, how to adapt 
it to java.
   
   ----
   
   For the "kelvin sign", the required flags are `iU`
   
   `matches("\u212A", "k", "i")` -> `matches("\u212A", "k", "iU")`
   
   Here, the problem is to fix the test (= add the `U` flag) or enable the `U` 
flag by default in our code
   
   
   
   


-- 
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