Ignore substitute failure

I’m trying to replace the glyph “i” with an alternate version “i.crossbar.space” in the condition that it’s not preceded by any letter. All letters are placed in the class named Letter.

ignore substitute @Letter i space;
sub i space by crossbar.i.space;

This doesn’t seem to work, anyhow… where’s the problem?

You need to add a ’ after the i

ignore substitute @Letter i’;
sub i’ space by i.crossbar.space;

That worked! Awesome, thanks!