Separate xml rule from main script
Change-Id: I983e69b8e5bc338c76e607df7fd07b6b85004f34
diff --git a/src/entities.xfst b/src/entities.xfst
index 92430ef..f185e31 100644
--- a/src/entities.xfst
+++ b/src/entities.xfst
@@ -1,5 +1,5 @@
define XMLentitiesDec ["#" Digit Digit+ ];
define XMLentitiesHex ["#" ["x"|"X"] HexLetter HexLetter+ ];
-define XMLentitiesStr [[[AsciiLetter .o. Caseinsensitive].l | Digit | "_" | "-" ]+ ];
+define XMLentitiesStr [[[AsciiLetter .o. Caseinsensitive].l | Digit | "_" | "-" ] ];
-read regex ["&" [XMLentitiesDec|XMLentitiesHex|XMLentitiesStr] ";"];
\ No newline at end of file
+read regex ["&" [XMLentitiesDec|XMLentitiesHex|XMLentitiesStr XMLentitiesStr+] ";"];
\ No newline at end of file