@Override
    public boolean isNegated() {
        final ASTNode node = getNode().getFirstChildNode().getTreeNext();
        return node != null && node.getElementType() == RegExpTT.CARET;
    }
@Override
    public boolean isNegated()