Skip to content

Non valid strings generated #47

@robert2411

Description

@robert2411

Used version: 1.0.2

Example code to reproduce:

        SystemPreferenceList out = new SystemPreferenceList();
        Generex generex = new Generex("(^$)|(^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$)");
        System.out.println(generex.random());

Generated string: ^_XC-5o-K-.X.6-0$

This string doesnt match the regex
Regex online to validate:
https://regex101.com/r/XelPbS/1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions