Agh - sorry. Thanks for catching that. It works fine now.
I wonder if catching errors and warning the user would be helpful — especially as non technical people might inadvertently write strings that are invalid regexes? It would also be great if an error in one regex didn’t cascade to the others. In this case there were valid matches with some of the later regexes which didn’t get found because of the error in the first.