See the comments in SlashExpander.h for a full explanation of the SlashExpander.