adding isLeaf to RE_TreeNode
set next() to void in LiteralIterator
change code path on ReplaceEventIterator