File:  [parser3project] / parser3 / tests / 212.html
Revision 1.7: download - view: text, annotated - select for diffs - revision graph
Fri Dec 13 13:54:03 2024 UTC (18 months, 3 weeks ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, HEAD
^try-catch-filtered added and used

@main[]
^try-catch{
	$r[^regex::create[]]
}
<br />


$s[  select]
$r[^regex::create[^^\s*]]
size: ^if($r){!=0}{==0}/^if(^r.size[]){!=0}{==0}<br />
study size: ^if(^r.study_size[]){!=0}{==0}<br />
^s.match[$r;]{!}
<br />

$s[  sElect]
$r[^regex::create[e][g]]
^s.match[$r;]{!}
<br />


$s[  sElect]
$r[^regex::create[e;gi]]
^s.match[$r;]{!}
<br />


$s[12312312]
$r[^regex::create[3;gn]]
^s.match[$r]
<br />

$s[12312312]
$r[^regex::create[\d+?]]
#pcre2 does not support study, this allways 0, pcre here !=0
study size: ^if(^r.study_size[]){!=0}{!=0}<br />
^s.match[$r;]{!}
<br />


$s[12312312]
$r[^regex::create[\d+?;U]]
^s.match[$r][]{!}
<br />

$t[^file:list[./;^regex::create[^^212.html^$]]]
$t.name
<br />

$r[^regex::create[^^[a-z\d_]+^$][gI]]
^$r.pattern: $r.pattern<br />
^$r.options: $r.options<br />
<br />

E-mail: