php 5.5 fixes for preg_replace with "e" modifier
fix for using regex to exclude menu items in fuel_nav function