If I originally have:
if (Sometext isin %var) { goto section }
and I wanted to convert it to regexp would this be correct (I know how to create the regexp pattern just want to be sure on the correct way to use it in a script):
if ($regex(/^Sometext*/i) == 1) && ($regml(1) isin %var) { goto section }