Class WildMatcher


  • public class WildMatcher
    extends Object
    Match string with pattern. Pattern can use wild cards '*' and '?'. Character '?' stands for any character (exactly one). Character '*' stands for sequence of characters (possibly empty sequence).
    Author:
    antons
    • Constructor Detail

      • WildMatcher

        public WildMatcher​(String pattern)
    • Method Detail

      • match

        public boolean match​(String text)
      • tryMatch

        public boolean tryMatch​(String text,
                                int element,
                                int offset)