--- parser3/src/www/htdocs/Attic/index.html 2001/04/03 17:43:51 1.99
+++ parser3/src/www/htdocs/Attic/index.html 2001/04/06 08:55:23 1.113
@@ -28,19 +28,37 @@ $n
#^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[]
-^if(def $form:fs){
- $form:fs
- ^form:fs.match[!][g]{?}
-
+^connect[$SQL.connect-string]{
+ $random_age(^random:generate(10000))
+ $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 |
}
+
+ }}
}
-$ts[^taint[<1!2!3>]]
-$ts
-^ts.match[!][g]{?}
+
+$with-cr[^table:set{a b
+^taint[<1
+2>] 3
+}]
+"$with-cr.a"
+
+^if(def $form:s){
+ $form:s
+ ^form:s.match[!][g]{!}
+
+}
+
$r[1223]
^^"$r".match[2][]{(^$match)}=^r.match[2][]{($match)}
^^"$r".match[2][i]{(^$match)}=^r.match[2][i]{($match)}
@@ -69,6 +87,7 @@ $sm[^s.match[(.)][]]
}
^mt[$s;я]
+^mt[$s;Я]
^mt[$s;b]
^mt[$s;^^b]
^mt[$s;^^a]
@@ -209,7 +228,8 @@ $response:location[http://parser3/123]