Template Search: Exact matching
My readstatus() function can return currentlyreading|toberead|read|unread|undefined.
When I use template:"program:readstatus()#@#:t:read" it captures anything with 'read' in the string, which obviously is a problem here.
Is there a way to have the template search use an exact match so I can avoid the if-value-then-yes template?
^read$ doesn't return antthing.
Last edited by ownedbycats; 04-02-2022 at 08:13 PM.
|