Modifications in if documentation, renders regex explainations well