void () { test("class '_X:!*A {}"); assertEquals("class $X$ {}", myOptions.getSearchPattern()); final MatchVariableConstraint constraint = myOptions.getVariableConstraint("X"); assertTrue(constraint.isInvertRegExp()); assertTrue(constraint.isWithinHierarchy()); assertEquals("A", constraint.getRegExp()); }