peg: Qualify use of replace. Fix some spacing.