Skip to content

Regexprep bug #2

@justflier

Description

@justflier

[-jff-] i think i found a bug :)
[-jff-] in REGEXPREP
[-jff-] it's supposed to be POSIX.2 regexp
[-jff-] if you want to match abc/123 for example
[-jff-] the '/' even / don't work
[-jff-] regexprep("/([a-z]+)/([0-9]+)/$$2/" $1)
[-jff-] for abc/123

How to reproduce:
/eval echo $regexprep("/([a-z]+)/([0-9]+)/$$2/" abc/123)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions