--- parser3/tests/212.html 2009/09/17 02:18:46 1.3
+++ parser3/tests/212.html 2023/12/13 23:49:26 1.6
@@ -10,8 +10,8 @@
$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;]{!}
@@ -34,7 +34,8 @@ $r[^regex::create[3;gn]]
$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;]{!}