Why not just go with anchorHead and anchorTail or similar?  And a capture could simply be


Thanks for your inputs Brandon. I've updated the code with anchors. Still trying to get a hold of captures.

Regards,
Kashyap