Skip to content

re.allchar might be missing from the string formula API #281

Description

@Swalkyn

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions