For the Case Macro to work can the matching text be anywhere in the Subject Line ?

Here is the SugarCRM Documentation on this topic

support.sugarcrm.com/.../

Although we have used this capability for a long while, we just want to make sure that the matching text can be anywhere in the Subject Line not just at the beginning for example.

We want to improve the subject lines but do not want to disrupt the Case Macro capability.

Thanks in advance.