Class RegexpHandler

java.lang.Object
org.qubership.atp.environments.helper.RegexpHandler

@Component public class RegexpHandler extends Object
  • Constructor Details

    • RegexpHandler

      public RegexpHandler()
  • Method Details

    • getByRegExp

      public String getByRegExp(String input, String regexp, int timeout)
      Gets all matches by regexp.
      Parameters:
      input - - input string
      regexp - - regexp for getting all matches in the input string
      Returns:
      string with each match on a new line