Solver for regex-crossword puzzles