Skip navigation links
totalcross.util.regex

Class WildcardPattern

See Also:
Pattern
    • Field Detail

      • WORD_CHAR

        public static final String WORD_CHAR
      • ANY_CHAR

        public static final String ANY_CHAR
    • Constructor Detail

      • WildcardPattern

        public WildcardPattern(String wc)
        Parameters:
        wc - The pattern
      • WildcardPattern

        public WildcardPattern(String wc,
                               boolean icase)
        Parameters:
        wc - The pattern
        icase - If true, the pattern is case-insensitive.
      • WildcardPattern

        public WildcardPattern(String wc,
                               int flags)
        Parameters:
        wc - The pattern
        flags - The bitwise OR of any of REFlags.* . The only meaningful flags are REFlags.IGNORE_CASE and REFlags.DOTALL (the latter allows the wildcards to match the EOL characters).
      • WildcardPattern

        public WildcardPattern(String wc,
                               String wcClass,
                               int flags)
        Parameters:
        wc - The pattern
        wcClass - The wildcard class, could be any of WORD_CHAR or ANY_CHAR
        flags - The bitwise OR of any of REFlags.* . The only meaningful flags are REFlags.IGNORE_CASE and REFlags.DOTALL (the latter allows the wildcards to match the EOL characters).
      • WildcardPattern

        protected WildcardPattern()