Glob pattern syntax error
Answered
I got syntax error highlighted on Glob pattern, even though this pattern has no errors, problem started after I turned on RegExp check. Turn it off to solve the problem but it did not helped. Code compiles without error, everything works, but red triangle and highlighted code in red is pretty annoying, any advice will be much appreciated.
Please sign in to leave a comment.
Please copy/paste the code fragment causing the problem.
PathMatcher matcher = fileSystem.getPathMatcher("glob:*.{dll,png,xml}");It looks like you injected incorrect language into the string, un-inject it:
i don't have un-inject option as you can see
Check the IDE settings:
Thanks a lot. it worked