code: protected void initializePatterns()
      {
          this.contentPagePatterns = initializationPagePatterns(this.contentPages);
          this.technicalPagePatterns = initializationPagePatterns(this.technicalPages);
  
          // Transform title expectations into Patterns
          Map<Pattern, Pattern> patterns = new HashMap<>();
          for (String key : this.titles.stringPropertyNames()) {
              patterns.put(Pattern.compile(key), Pattern.compile(this.titles.getProperty(key)));
          }
          this.titlePatterns = patterns;
      }
docs: Initialize regex Patterns for performance reasons.