Skip to content

translate WDL's sub() as replaceAll() equivalent not replace() #128

@kinow

Description

@kinow

From WDL spec:

this function replaces all non-overlapping occurrences of pattern in input by replace

But I think what we have in the get_expr_apply is a call to .replace() which only replaces one occurrence (different than the Python function with same name!)

Instead I think we must use JS' replaceAll().

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions