public static boolean containsWildcard(String regex) {
        return (regex.contains("?") || regex.contains("*"));
    }
@Test
    void testContainsWildcard() {
        assertFalse(RegexParser.containsWildcard("test"));
        assertTrue(RegexParser.containsWildcard("?"));
        assertTrue(RegexParser.containsWildcard("*"));
    }