Solver for a regex crossword