docs: public static BasicEnvironmentalContext patternContextFor(String key, String value) {
          if (null == key) {
              throw new IllegalArgumentException("key cannot be null");
          }
          if (null == value) {
              throw new IllegalArgumentException("value cannot be null");
          }
          try {
              return new BasicEnvironmentalContext(key, value, Pattern.compile(value));
          } catch (PatternSyntaxException ignored) {
          }
          return new BasicEnvironmentalContext(key, value, null);
      }