Re-entering teaching after working in the industry (in Europe)
While it depends on where the possibly foreign university is, I can answer for the UK (...for now, pre Brexit. Post-Brexit will just be some sort of crazy nightmare so who can say). Simply put, yes, if you were applying for a teaching-only position, having a stretch of time in industry and outside of teaching is likely to be seen as negative on balance. With numerous qualified people applying for every position, committees can pick and choose and they usually pick and choose people who have fresh teaching experience rather than someone who has been out of the game for a while. It isn't impossible to come back to teaching from industry, especially if you can show how you working in industry would be an asset to your teaching, but it's hard. Indeed I only know of examples of a move back to teaching from very few fields and it would be unlikely in mine (Social Sciencey and Artsy).