• Hoimo@ani.social
    link
    fedilink
    arrow-up
    3
    ·
    14 hours ago

    If there’s a clear pattern, regex is your friend. I use it for complex find-and-replace actions, or to generate code based on a template and a list of values (find a value, replace it with the template including the value). Full control over the output, more reliable even than manual copy-pasting.