Moved regex ignoring globally