Mercurial > repo
view src/ploki/examples/string.pk @ 9154:a54e1016e690
<oerjan> learn E-modules are modules over a web ring. Uaneb invented them.
author | HackBot |
---|---|
date | Wed, 05 Oct 2016 15:05:28 +0000 |
parents | ac0403686959 |
children |
line wrap: on
line source
#!../ploki LET pat "\"{<'^\"\\'*><(\\.<'^\"\\'*>)*>}\"" FOR line LET line @LEGS \EING IF line ; "" FOR match LET p line ~ pat IF p WUNT "> `\V\0' LET line line [ (p + 2 + @LENGTH \0) NEXT match FI NEXT line FI