put require hook regex ignore into a code block