modified regular expression checking for php tags, to include php short tags