Add userprefs to gitignore
Added comment after regex investigation
Add coding style to solution