--- parser3/src/www/htdocs/Attic/index.html 2001/04/04 11:47:31 1.103
+++ parser3/src/www/htdocs/Attic/index.html 2001/04/06 13:41:35 1.116
@@ -23,21 +23,35 @@ $n
@twop[a;b]
($a,$b)
-@post-process[data]
-(
$data)
-#^data.match[1][g]{X}
+@Zpost-process[data]
+#(
$data)
+^data.match[1][g]{X}
@mt[s;m]
-$m ^if(^s.match[$:m][i]){matches}{do not match} $s
+$m ^if(^s.match[$:m;i]){matches}{does not match} $s
@main[]
+^^table:dir[/]:
+$d[^table:dir[/]]
+^d.menu{$name;
}
+
+
+^^table:dir[/;i]
+$d[^table:dir[/;i]]
+^d.menu{$name;
}
+
+
^connect[$SQL.connect-string]{
- $news[^table:sql{select * from news}(1;4)]
- ^$news.0=$news.0
-}
-^connect[$SQL.connect-string]{
- $news[^table:sql{select * from news}(2;5)]
- ^$news.0=$news.0
+ $shit[^taint[our's]]
+ $paf[^table:sql{insert into paf (name, age) values ('$shit', ^random:generate(10000))}]
+ $paf[^table:sql{select * from paf order by id desc}(5)]
+ $paf{
+ ^empty{query result is empty}{
+
+ | id | name | age |
+ ^menu{| $id | $name | $age |
}
+
+ }}
}
@@ -82,6 +96,7 @@ $sm[^s.match[(.)][]]
}
^mt[$s;ÿ]
+^mt[$s;ß]
^mt[$s;b]
^mt[$s;^^b]
^mt[$s;^^a]