Can someone please confirm this is a bug.
var aaa : string = "123abcdeadad"
echo re.findall( aaa, re("[abc]+")) #<---- complets
echo re.findall( aaa, re("[abc]*")) #<---- infinite loop
Yep, it's a bug. findall is much harder to implement correctly than it sounds. See nre vs. re.
Until it does get fixed, you may be interested in https://github.com/flaviut/nre
Disclaimer: I'm the author of nre.