File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ Function: string_constraint_generatort::add_axioms_for_last_index_of_string
201
201
from_index - an expression representing an index in strings
202
202
203
203
Outputs: an integer expression representing the last index of needle in
204
- haystack after from_index, or -1 if there is none
204
+ haystack before or at from_index, or -1 if there is none
205
205
206
206
Purpose: Add axioms stating that the returned value is the index within
207
207
haystack of the last occurence of needle starting the search
@@ -365,7 +365,8 @@ Function: string_constraint_generatort::add_axioms_for_last_index_of
365
365
c - an expression representing a character
366
366
from_index - an expression representing an index in the string
367
367
368
- Outputs: a integer expression
368
+ Outputs: an integer expression representing the last index of c in
369
+ str before or at from_index, or -1 if there is none
369
370
370
371
Purpose: Add axioms stating that the returned value is the index within
371
372
str of the last occurence of c starting the search backward at
You can’t perform that action at this time.
0 commit comments