We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From Andy and Andres (email May 21, 2021):
Hi Cesare and all,
Andres and I discussed having another operator in SMT-LIB for the theory of strings:
(str.indexof_re x R n)
of type (-> String RegLan Int Int)
which returns the first index, starting from n in x that is a non-empty match for regular expression R.
n
x
R
This operator could be used when reasoning about str.replace_re, analogously to how str.indexof relates to str.replace.
str.replace_re
str.indexof
str.replace
Cheers, Andy
The text was updated successfully, but these errors were encountered:
barrettcw
No branches or pull requests
From Andy and Andres (email May 21, 2021):
Hi Cesare and all,
Andres and I discussed having another operator in SMT-LIB for the theory of strings:
(str.indexof_re x R n)
of type (-> String RegLan Int Int)
which returns the first index, starting from
n
inx
that is a non-empty match for regular expressionR
.This operator could be used when reasoning about
str.replace_re
, analogously to howstr.indexof
relates tostr.replace
.Cheers,
Andy
The text was updated successfully, but these errors were encountered: