blob: f185e31446408abc532e73dc8dfba3470c9b5842 [file] [log] [blame]
Akron6742b962021-11-09 01:17:20 +01001define XMLentitiesDec ["#" Digit Digit+ ];
2define XMLentitiesHex ["#" ["x"|"X"] HexLetter HexLetter+ ];
Akronc8406362021-11-09 20:17:50 +01003define XMLentitiesStr [[[AsciiLetter .o. Caseinsensitive].l | Digit | "_" | "-" ] ];
Akron6742b962021-11-09 01:17:20 +01004
Akronc8406362021-11-09 20:17:50 +01005read regex ["&" [XMLentitiesDec|XMLentitiesHex|XMLentitiesStr XMLentitiesStr+] ";"];