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.

0
6 comments

Please copy/paste the code fragment causing the problem.

0
Avatar
Permanently deleted user
PathMatcher matcher = fileSystem.getPathMatcher("glob:*.{dll,png,xml}");
0

It looks like you injected incorrect language into the string, un-inject it:

0
Avatar
Permanently deleted user

i don't have un-inject option as you can see

0

Check the IDE settings:

1
Avatar
Permanently deleted user

Thanks a lot. it worked

0

Please sign in to leave a comment.