Generex icon indicating copy to clipboard operation
Generex copied to clipboard

Non valid strings generated

Open robert2411 opened this issue 6 years ago • 1 comments

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

robert2411 avatar Feb 28 '19 09:02 robert2411

Used version: 1.0.1

I have same issue, just want to give charset UTF-8, any chances?

fuatkarakus avatar Oct 26 '21 13:10 fuatkarakus