benburkert / randexp

generate random data from a Regular Expression
MIT License
287 stars 43 forks source link

Any single character in the range #4

Closed AlexParamonov closed 6 years ago

AlexParamonov commented 13 years ago

/[a-z]{2}/.gen => [a-z]], but should be any 2 chars

ryaz commented 10 years ago

+1

frediy commented 10 years ago

+1

devscrapper commented 9 years ago

+1 /[a-z]{2}/.gen => [a-z]] /[a-z]p{2}/.gen => [a-z]pp /([:link:]p){2}/ => linkplinkp => OK /([:link:]){2}/ =>link => KO /[:link:]{2}/ =>link => KO /[:link:]p{2}/ =>linkpp => OK

even if you dont want to fix this issue, do you where is the bug, il would fix in the local gem in my ruby environement

thanks.

AlexParamonov commented 6 years ago

Closing due to old age