diff --git a/skylighting-core/xml/erlang.xml b/skylighting-core/xml/erlang.xml
index 7bbcbc9..b631afd 100644
--- a/skylighting-core/xml/erlang.xml
+++ b/skylighting-core/xml/erlang.xml
@@ -213,7 +213,7 @@
<!-- finish off the atom in quoted string (allow for escaped single quotes -->
<context name="stringquote" attribute="String" lineEndContext="#pop">
- <RegExpr attribute="String" context="#pop" String="(?:(?:\\")?[^"]*)*"" />
+ <RegExpr attribute="String" context="#pop" String="(?:\\"|[^"])*"" />
</context>
<!-- finish off the comment (allows for alerts) -->