Advertisement
jargon

Dungeon XAMPP-Builder (just the GET regex)

Sep 22nd, 2021
3,420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PCRE 0.59 KB | None | 0 0
  1. ^(?<linenumber>[0-9]{3,4}) DIM (?<graphic>[A-Z]{2})\((?<width>[0-9]+),(?<height>[0-9]+)\)$
  2. ^[0-9]{3,4} OPEN"(?<filename>[.a-z0-9]+)" FOR INPUT AS (?<filemode>[[0-9]+)$
  3. ^[0-9]{3,4} FOR (?<outerloop>[A-Z]+)=(?<outerlow>[0-9]+) TO (?&height):FOR (?<innerloop>[A-Z]+)=(?<innerlow>[0-9]+) TO (?&width)$
  4. ^[0-9]{3,4} INPUT #(?&filemode),(?<pixvar>[A-Z]+):PSET\((?&innerloop),(?&outerloop)\),(?&pixvar)$
  5. ^[0-9]{3,4} NEXT (?&innerloop):NEXT (?&outerloop)$
  6. ^[0-9]{3,4} CLOSE (?&filemode)
  7. ^[0-9]{3,4} GET\((?&innerlow),(?&outerlow)\)-\((?&width),(?&height)\),(?&graphic)$
  8. ^[0-9]{3,4} CLS$
  9. (*SKIP)(*F)|.+\n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement