Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mmicheo opened this issue Jun 13, 2021 · 0 comments
Open

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

mmicheo opened this issue Jun 13, 2021 · 0 comments

Comments

@mmicheo
Copy link

mmicheo commented Jun 13, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant