@Override
    public RegExpOptions getOnOptions() {
        final ASTNode[] nodes = getNode().getChildren(TokenSet.create(RegExpElementTypes.OPTIONS));
        for (ASTNode node : nodes) {
            if (!node.textContains('-')) {
                return (RegExpOptions)node.getPsi();
            }
        }
        return null;
    }
@Override
    public RegExpOptions getOnOptions()