Class Regex

java.lang.Object
net.botwithus.rs3.util.Regex

public final class Regex extends Object
  • Constructor Details

    • Regex

      public Regex()
  • Method Details

    • getPatternForExactString

      public static Pattern getPatternForExactString(String string)
    • getPatternForContainsString

      public static Pattern getPatternForContainsString(String string)
    • getPatternForExactStrings

      public static Pattern getPatternForExactStrings(String... strings)
    • getPatternForContainingOneOf

      public static Pattern getPatternForContainingOneOf(String... strings)
    • getPatternsForExactStrings

      public static List<Pattern> getPatternsForExactStrings(String... strings)
    • getPatternsForContainsStrings

      public static List<Pattern> getPatternsForContainsStrings(String... strings)
    • getPatternForNotContainingAnyString

      public static Pattern getPatternForNotContainingAnyString(String... strings)
    • getPattern

      public static Pattern getPattern(String regex)