in reply to regex help needed
if ( /exception(?!\s*handler)/i ) { [download]
which means: exception, not followed by \s*handler.