Open pierreganty opened 3 months ago
Finally getting to this, sorry it's taken so long!
I think this is a more compelling example:
; ./build/bin/re -r literal -G 3 abc
; ./build/bin/re -r literal -G 4 abc
abc
;
Also a good case:
; ./build/bin/re -r literal -G 1 ''
; ./build/bin/re -r literal -G 1 'x'
;
Nice! Thank you.
Hi,
When asking
re
for an example of length up to 20 then none is returned. If, for the same regular expression, I askre
to return an example of length 21 then it returns two examples, the first of which has length 20.Moreover, in both calls
re
returns1
which is an error code according to the man page. I am not sure why, though.