@main[]
^try{
$r[^regex::create[]]
}{
$exception.handled(1)
failed, that's OK
}
$s[ select]
$r[^regex::create[^^\s*]]
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;]{!}
$s[ sElect]
$r[^regex::create[e;gi]]
^s.match[$r;]{!}
$s[12312312]
$r[^regex::create[3;gn]]
^s.match[$r]
$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}
^s.match[$r;]{!}
$s[12312312]
$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