@Override
      public @NotNull ModCommand perform(@NotNull Project project, @NotNull ProblemDescriptor descriptor) {
        final PsiElement element = descriptor.getPsiElement();
        if (!(element instanceof RegExpElement)) {
          return ModCommand.nop();
        }
        return ModCommand.psiUpdate(element, e ->
          RegExpReplacementUtil.replaceInContext(e, myDelete ? "" : myExpression, descriptor.getTextRangeInElement()));
      }
@Override
      public @NotNull ModCommand perform(@NotNull Project project, @NotNull ProblemDescriptor descriptor)