http://qs321.pair.com?node_id=632644


in reply to Re: Programmatically building named anchors to warp to sections
in thread Programmatically building named anchors to warp to sections

Your code makes a new section for every change in the second letter if the name. hacker wanted just to have sections at the vowels ( first letter . [aeiou] ).

Also, I'm not sure what's wrong with printing as the output comes, either, instead of building up an array.

Update: added code tags around character class.