my $pattern = qr/\b(create|delete|insert|update|drop)\b/; [download]
In reply to Re: speeding up a regex by kwaping in thread speeding up a regex by Anonymous Monk