public static boolean match(String pattern, String string) {
      assertSingleByte(string);
      return match(pattern.getBytes(StandardCharsets.US_ASCII), string.getBytes(StandardCharsets.US_ASCII));
   }
@Test
   public void testMultiByteString() {
      assertThrows(AssertionError.class, () -> GlobMatcher.match("p?tte*n", "José"));
      assertThrows(AssertionError.class, () -> GlobMatcher.match("p?tte*n".getBytes(StandardCharsets.US_ASCII), "José".getBytes()));
      assertThrows(AssertionError.class, () -> GlobMatcher.match("p?tte*n", "€10,00"));
      assertThrows(AssertionError.class, () -> GlobMatcher.match("p?tte*n".getBytes(StandardCharsets.US_ASCII), "€10,00".getBytes()));

      assertTrue(GlobMatcher.match("Jo?*", "Jose"));
      assertTrue(GlobMatcher.match("$[1-9]*,[0-9][0-9]", "$101,23"));
      assertTrue(GlobMatcher.match("$[1-9]*,[0-9][0-9]".getBytes(StandardCharsets.US_ASCII), "$101,23".getBytes(StandardCharsets.US_ASCII)));
   }