Skip to content

Request: replace to allow escaped characters (\t, \n, etc) #119

@mmicheo

Description

@mmicheo

Currently, a call to swift with
echo 'abcde' | sift '(.*)c(.*)' --replace='$1\n$2'
results in ab\nde. Instead of a carriage return character, it includes a '\' char followed by a 'n' char.

Expected result: replace \n with a carriage return.
ab
de

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