For anchored matches, break out of the search loop on encountering the first character not in a pattern
Update acism.c

Tweak
Merge remote-tracking branch 'upstream/master'

Conflicts:
	acism.c
Merge branch 'master' into reverse_match

Conflicts:
	acism.c