Hello there,
I'm working with the Unicode strings theory, and I want to create a RegexFormula for the regular expression accepting any single character (usually written as .). This is a function provided by the theory (search for re.allchar).
I did not find the corresponding function in StringFormulaManager's JavaDoc. Searching through the source code did not yield anything. I am quite sure that using makeRegex(".") matches a single dot character, and not any character.
Is this function omitted on purpose ? Was it simply confused with re.all ? Or am I missing something ?
If it turns out that re.allchar is not omitted on purpose, I would be glad to submit a PR implementing it (for Z3 at least).
Hello there,
I'm working with the Unicode strings theory, and I want to create a
RegexFormulafor the regular expression accepting any single character (usually written as.). This is a function provided by the theory (search forre.allchar).I did not find the corresponding function in
StringFormulaManager's JavaDoc. Searching through the source code did not yield anything. I am quite sure that usingmakeRegex(".")matches a single dot character, and not any character.Is this function omitted on purpose ? Was it simply confused with
re.all? Or am I missing something ?If it turns out that
re.allcharis not omitted on purpose, I would be glad to submit a PR implementing it (for Z3 at least).