Skip navigation links
totalcross.util.regex

Class WildcardPattern

See Also:
Pattern
    • Constructor Detail

      • WildcardPattern

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

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

        public WildcardPattern(java.lang.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(java.lang.String wc,
                               java.lang.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()
    • Method Detail

      • convertSpecials

        protected static java.lang.String convertSpecials(java.lang.String s,
                                                          java.lang.String wcClass,
                                                          java.lang.String specials)
      • compile

        protected void compile(java.lang.String wc,
                               java.lang.String wcClass,
                               java.lang.String specials,
                               int flags)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Pattern