test same regex on different strings
if re.Exec('foo') then
begin
end
else if re.Exec('foo1') then
begin
end
else if re.Exec('foo2') then
begin
end
//.....
How to do other way around, nice code as above ? Test same string on different regex-es ? All I can figure out is ugly subbing if - s.