Improve listImpl

Can you just add a comment referencing the source of the regex?