Regioselectivity in Friedel–Crafts acylation of thiophene
Friedel-Crafts acylation reactions are well documented on thiophenes, and go with high regioselectivity for the 2-position (or 5-position, which is equivalent in the case of unsubstituted thiophene) rather than the 3-position (or 4-position). Joule and Mills' Heterocyclic Chemistry (5th ed., p 327) gives the following two examples:





The regioselectivity can be explained through consideration of the intermediates involved when the thiophene attacks the electrophilic carbenium species. 



One is able to see that the intermediate species produced by attack at the 2-position is able to be drawn in three resonance forms, whilst the intermediate produced by attack at the 3-position is only able to be drawn in two resonance forms. As a general rule of thumb, the more resonance forms one can draw, the more 'stable' and intermediate, and hence the energy required to access it is lower, hence in the case of thiophene we get preferential electrophilic substitution at the 2/5-position. 

(When looking at the intermediates, we can also consider the type of conjugation involved. Attack at the 2-position yields a linearly conjugated intermediate, which is lower in energy than the cross conjugated intermediate from attack at the 3-position).