I dont know if I can call it a problem because it works, but being someone who still only dabbles a bit in AE expressions I was hoping maybe to optimize or "fool proof" some code.
I have a text layer that has to be aligned at the bottom, even when there are line breaks. I found this great post on the Adobe forums that solved that problem ( https://forums.adobe.com/thread/1065178 ). (Thanks Dan!).
But since I needed my text to not move at all, I added an expression to shift the Anchor point according to the presence of certain characters on text line 1 if there is only 1 line, and on line 2 if there are 2 lines of text. Since the text is all caps, only these characters seem problematic : Q $ Ç ; ,
Everything seems to work fine, but was wondering if there was a chance any of this could backfire in certain situations?