Scoring is anonymous. The person who gave you that score might have a reason for giving you 5.
I haven\'t tested your code yet but it looks interesting with all the regex.