view src/ploki/examples/reset.pk @ 6180:24d773fb3f86

<oerjan> ` sed -i \'2ctr A-Z a-z\' bin/lowercase
author HackBot
date Tue, 03 Nov 2015 23:55:44 +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