in reply to Strange regular expression warning
/\.ORD_API_log$/
...which doesn't root the match to the beginning of the string (and explicitly looks for a period before the extension).