Code Inspection: Redundant modifier
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports the i
(case insensitivity) modifiers that are used in regular expression patterns containing no letters. Such modifiers are redundant and can be safely removed.
Place the caret at the highlighted line and press AltEnter or click
.
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.