goregen
goregen copied to clipboard
results are not distributed randomly across domain represented by regex length
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.