IC90-96 pattern expected

I am concatonating a string that is being passed into a regex Pattern constructor. The code compiles and the pattern works as expected but there is an inspection or something that is flagging parts of the string as having an error. When you hover over these parts, it says the issues is "pattern expected". I tried turning off the Pattern Validation inspection but that didn't fix it. There doesn't seem to be any way to disable or ignore this inspection. We try not to ship any code that has a red inspection so this would be a problem for us when we upgrade to Version 9.

Please sign in to leave a comment.