--- parser3/tests/212.html 2009/05/16 22:58:10 1.2
+++ parser3/tests/212.html 2023/12/13 23:49:26 1.6
@@ -10,12 +10,11 @@
$s[ select]
$r[^regex::create[^^\s*]]
-size: ^eval($r)/^r.size[]
-study size: ^r.study_size[]
+size: ^if($r){!=0}{==0}/^if(^r.size[]){!=0}{==0}
+study size: ^if(^r.study_size[]){!=0}{==0}
^s.match[$r;]{!}
-
$s[ sElect]
$r[^regex::create[e][g]]
^s.match[$r;]{!}
@@ -33,10 +32,10 @@ $r[^regex::create[3;gn]]
^s.match[$r]
-
$s[12312312]
$r[^regex::create[\d+?]]
-study size: ^r.study_size[]
+#pcre2 does not support study, this allways 0, pcre here !=0
+study size: ^if(^r.study_size[]){!=0}{!=0}
^s.match[$r;]{!}
@@ -46,8 +45,11 @@ $r[^regex::create[\d+?;U]]
^s.match[$r][]{!}
-
-
$t[^file:list[./;^regex::create[^^212.html^$]]]
$t.name
+
+$r[^regex::create[^^[a-z\d_]+^$][gI]]
+^$r.pattern: $r.pattern
+^$r.options: $r.options
+