Process .m and .h files in an xcode project

1. Adds .m and .h to the file types

2. Improves the regular expression used for file name matching.

The regex was previously matching any character followed by the file name, eg aarb.exe. 

This fixes it to match a . character, one of the file names, an optional non-alphanumeric character and the end of the line.

The optional non-alphanumeric character is useful in xcode projects which sometimes contain spaces and have a " at the end of the file name.