Implementation of a RegExp crossword.