code: @SuppressWarnings("squid:S2259")
      public void value(String expectedPattern) {
          String value = checkValue(expectedPattern, 0, 0);
          String reason = NO_ELEMENT_FOUND;
          if (value == null && getElement().is().present()) {
              reason = "Element not input";
          }
          assertNotNull(reason, value);
          assertTrue("Value Mismatch: value of '" + value + DOES_NOT_MATCH_PATTERN + expectedPattern + "'", value.matches(expectedPattern));
      }
docs: Asserts that the element's value matches the regular expression pattern
  provided. If the element isn't present or an input, this will constitute a failure,
  same as a mismatch. This information will be logged and recorded, with a
  screenshot for traceability and added debugging support.
  
  @param expectedPattern the expected input value of the element