3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-03 22:05:45 +00:00
Expose diff function,
expose allchar in Java API
expose op codes for replace/re/all
This commit is contained in:
Nikolaj Bjorner 2021-12-20 10:17:06 -08:00
parent f01d096fb5
commit 7a6070506d
7 changed files with 62 additions and 1 deletions

View file

@ -1192,6 +1192,9 @@ typedef enum {
Z3_OP_SEQ_CONTAINS,
Z3_OP_SEQ_EXTRACT,
Z3_OP_SEQ_REPLACE,
Z3_OP_SEQ_REPLACE_RE,
Z3_OP_SEQ_REPLACE_RE_ALL,
Z3_OP_SEQ_REPLACE_ALL,
Z3_OP_SEQ_AT,
Z3_OP_SEQ_NTH,
Z3_OP_SEQ_LENGTH,
@ -1216,7 +1219,9 @@ typedef enum {
Z3_OP_RE_UNION,
Z3_OP_RE_RANGE,
Z3_OP_RE_LOOP,
Z3_OP_RE_POWER,
Z3_OP_RE_INTERSECT,
Z3_OP_RE_DIFF,
Z3_OP_RE_EMPTY_SET,
Z3_OP_RE_FULL_SET,
Z3_OP_RE_COMPLEMENT,
@ -3812,6 +3817,13 @@ extern "C" {
*/
Z3_ast Z3_API Z3_mk_re_complement(Z3_context c, Z3_ast re);
/**
\brief Create the difference of regular expressions.
def_API('Z3_mk_re_diff', AST ,(_in(CONTEXT), _in(AST), _in(AST)))
*/
Z3_ast Z3_API Z3_mk_re_diff(Z3_context c, Z3_ast re1, Z3_ast re2);
/**
\brief Create an empty regular expression of sort \c re.