Patch Set 3: No score

These are the situations I've tested for compatibility:


***Compatibility***

Successfully ignored
Pattern		File		Notes
/*.stp		/test.stp	

/*.st?		/test.stp	

/*.sta[0-9]	/test.sta1	

/*/*.stp	/src/asdf.stp	

/foo/		/foo/		where foo is a directory

*.stp		/test.stp	No slashes in pattern -- match filename

*.stp		/src/test.stp	No slashes in pattern -- match filename

!/test.stp
/test.stp 	/test.stp	Negation and higher priority ignore



Successfully not ignored
Pattern		File		Notes
/*.stp		/src/asdf.stp	* should not expand to include '/'

/foo/		/foo		Pattern ends with /, only match directories

/*.st?

!/test.stp	/test.stp	Pattern + higher priority negation

#/test.stp	/test.stp	Commented

/src?test	/src/test.stp	? should not expand to '/'

!/test.stp
/src/test.stp 	/src/test.stp	Negation in highest priority file, look no further

!/test.stp
/test.stp	
!/test.stp 	/test.stp	Highest priority statement in file is negation