mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 02:45:51 +00:00
Expose diff function, expose allchar in Java API expose op codes for replace/re/all
This commit is contained in:
parent
f01d096fb5
commit
7a6070506d
7 changed files with 62 additions and 1 deletions
|
@ -2667,6 +2667,17 @@ namespace Microsoft.Z3
|
|||
return new ReExpr(this, Native.Z3_mk_re_intersect(nCtx, (uint)t.Length, AST.ArrayToNative(t)));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Create a difference regular expression.
|
||||
/// </summary>
|
||||
public ReExpr MkDiff(ReExpr a, ReExpr b)
|
||||
{
|
||||
Debug.Assert(a != null);
|
||||
Debug.Assert(b != null);
|
||||
CheckContextMatch(a, b);
|
||||
return new ReExpr(this, Native.Z3_mk_re_diff(nCtx, a.NativeObject, b.NativeObject));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Create the empty regular expression.
|
||||
/// The sort s should be a regular expression.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue