The complexity of deciding equality of regular languages (and many other problems on regular languages) varies a lot depending on the system of representation:
P for deterministic automaton (more precisely NL-complete)
PSPACE-complete for nondeterministic automaton or regular expression
EXPSPACE-complete for regular expression with squaring operation.
NONELEMENTARY for Monadic Second-Order (MSO) formula.