Hallo. I have a file '~/test.sas' which contains one line %metalibm(inlibdw); * Bankdata DW; when i run data test2;
infile "~/test.sas" truncover;
input line $char100.;
commentEnd=prxparse('/(\*\/|;$)/');
end_=prxmatch(commentEnd,line);
run; I get end_=0.But if I input the line in a dataset data test3;
line=' %metalibm(inlibdw); * Bankdata DW;';
commentEnd=prxparse('/(\*\/|;$)/');
end_=prxmatch(commentEnd,line);
run; I get end_=50 wich is corret. Any idea of why this happens?
... View more