view src/ploki/examples/reset.pk @ 9220:52758a71887f

<shachaf> fetch http://mirror.keystealth.org/gnu/wdiff/wdiff-latest.tar.gz
author HackBot
date Mon, 10 Oct 2016 22:57:12 +0000
parents ac0403686959
children
line wrap: on
line source

#!../ploki
IF @NOT ("foo" ~ "{.}0!") | (\0 ; "o")
	"error
	END -1
FI
IF "foo" ~ "b"
	"error
	END -1
FI
IF @DEF-P \0
	"ARGH: match variable not reset
	END -1
FI
"ok