gjd6640 / sonar-text-plugin

A free and open-source plugin for SonarSource's Sonarqube product that lets you create rules to flag issues in text files.
Apache License 2.0
23 stars 4 forks source link

(*SKIP)(*FAIL) Dont work #24

Open pablosguajardo opened 1 year ago

pablosguajardo commented 1 year ago

I'm trying to use skip and fail in Simple Regex Match but it doesn't work. Example: https://regex101.com/r/Bb6eS3/1

gjd6640 commented 1 year ago

It seems that the issue is with different versions of regular expression engines. If you select on the left side of your web-based testing tool quote "Java 8" you will see that tool flag the problematic portions of the expression that you're using.

See this page for the full spec of Java's regular expression engine: https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html

pablosguajardo commented 1 year ago

thanks for the reply. any idea how to make it work with java 8?