Conditionals in match_replace() #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I would like to be able to specify conditionals in match_replace() strings. So, say I have a suffix I want to add to the string, but only if a value in the supplied data is
TRUE
.Example usage:
Say we want to replace a string that has a name, followed but an active indicator.
This will output:
This will require two updates:
>
that will cause the defined plain text to be output directly.?
check modifier that will test the defined value and only output if it evaluates TRUE.assigned to @jamie
created branch
2-conditionals-in-match_replace
to address this issuementioned in merge request !3
changed the description
changed the description
changed the description
mentioned in commit
df0478099e