The '/^$/' thing generally slows down processing very much. But it should IMHO speed it up, because it skips empty lines before any processing in particular part of the script.
Yes, this is a bug. The check that speeds up anchored search misdetects /^$/ as a not-necessarily-anchored search.
Can this be reassigned to glibc? Paolo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]