Skip to content

results are not distributed randomly across domain represented by regex length #6

@thurt

Description

@thurt

consider regex 0{1,10}, https://goregen-demo.herokuapp.com/?Regex=0%7B1%2C10%7D&Count=10

after performing this query 10 times it appears that the results are skewed towards the lower lengths, with a majority of the results being 0 and 00. wondering if you have any insights into this or its just my imagination? perhaps it is related to how the value is generated in the case of this regex?

in contrast, a regex like this https://goregen-demo.herokuapp.com/?Regex=0%7C%5B1-9%5D&Count=10 appears to consistently distribute randomly across the domain.

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