diff --git a/RegExpSupport/src/org/intellij/lang/regexp/psi/impl/RegExpElementImpl.java b/RegExpSupport/src/org/intellij/lang/regexp/psi/impl/RegExpElementImpl.java index 9b96b95d7b5f..f0befa3c0287 100644 --- a/RegExpSupport/src/org/intellij/lang/regexp/psi/impl/RegExpElementImpl.java +++ b/RegExpSupport/src/org/intellij/lang/regexp/psi/impl/RegExpElementImpl.java @@ -49,7 +49,7 @@ public abstract class RegExpElementImpl extends ASTWrapperPsiElement implements } public String toString() { - return getClass().getSimpleName() + ": <" + getUnescapedText() + ">"; + return getClass().getSimpleName() + ": <" + getText() + ">"; } public void accept(@NotNull PsiElementVisitor visitor) {