如果使用regular-expression-id,则需要先使用PRXPARSEfunction 指定一个 perl pattern。 举例: data _null_;patternID=prxparse('/world/');position=prxmatch(patternID,'Hello world!');run;/*或:*/data _null_;position=prxmatch('/world/','Hello world!');put position=;run; ...
But it would not find it in the first row, because there is one character replacement (in the first letter). I could doproc sql;select *from s1where prxmatch('/[a-z]dipiscing/i', text)>0;quit;But i don't want to have to specify all possible patterns. Is there a SAS func...