Friedel-Crafts reaction of anisole?
Friedel-Crafts acylation of anisole with acetyl chloride and aluminium chloride as catalyst is a standard laboratory procedure to synthesize acetanisole.

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

The fact that this reaction is possible does not imply that there is no complex formation with $\ce{AlCl3}$. On the contrary, it is quite probable that such complexes do form due to the interaction of the methoxy oxygen with $\ce{AlCl3}$.

Therefore, and to compensate the formation of complexes with the resulting ketone, $\ce{AlCl3}$ is added in more than two-fold excess in the above synthesis.