oh my god... In the script above, I call a function, it finds a list of pairs with regex, starts a loop and then passes them to a different function. When the program executes line by line in a debugger, it reaches the loop and then suddenly the function stops, like if there was a return inside, but there is only an assignment...