I think I identified the misbehaving template.
New question (likely more regex issue): When using a 'contains' on a taglike, how can I make it match when there's multiple options? e.g.
Code:
program:
f = field('#field');
strcat
(
contains(f, "^foo|bar|foobar|test123$", 'icon.png:', ''),
)
it sometimes breaks if "test123" is in the taglike. It works again if I remove the exact-match modifiers but then it's not exact matching.