I'm trying to use the custom configuration setting filtered-file-type-regex. I want to prevent CCStd users from having to tag .jsp files in the tagging step of the wizards. I put together the Perl regex /(?<!\.jsp)$/ to allow any file where the end of the file is not preceded by .jsp. It works great in Perl, but when I put
<applications>
<application id="ccstd">
<param id="filtered-file-type-regex" value="/(?<!\.jsp)$/"/>
</application>
</applications>
Into application-custom.xml, and get to the tagging stage of a wizard in CCStd, I get the error
org.apache.oro.text.MalformedCachePatternException: Invalid expression: (?
The docs for
org.apache.oro.text.regex tell me that "The Pattern interface does not impose any specific internal pattern representation, and consequently, Pattern implementations are not meant to be interchangeable among differing PatternCompiler and PatternMatcher implementations. ". It has implementing classes AwkPattern, JavaPattern and Perl5Pattern.
So does anyone know what kind of regex is used here?