These operations build a new Term from existing ones by joining them end to end or repeating one. Every result is a Term you can pass to the next call.
Concatenation
Concatenation builds a new Term by joining strings end-to-end in order.
Example:
Code
RegexSolverClient client = RegexSolverClient.builder() .apiToken(System.getenv("REGEXSOLVER_API_TOKEN")) .build();Term a = Term.regex("ab");Term b = Term.regex("c.*");Term c = Term.regex("de");OperationOptions operationOptions = OperationOptions.builder() .responseFormat(ResponseFormat.REGEX);Term result = client.concat(List.of(a, b, c), operationOptions);System.out.println(result); // regex=abc.*de