code: public boolean matchesPosTagRegex(String posTagRegex) {
      Pattern pattern = Pattern.compile(posTagRegex);
      boolean found = false;
      for (AnalyzedToken reading : anTokReadings) {
        if (reading.getPOSTag() != null) {
          found = pattern.matcher(reading.getPOSTag()).matches();
          if (found) {
            break;
          }
        }
      }
      return found;
    }
docs: Checks if at least one of the readings matches a given POS tag regex.
  
  @param posTagRegex POS tag regular expression to look for
  @since 2.9