Acode icon indicating copy to clipboard operation
Acode copied to clipboard

[FEATURE REQUEST] Process regex escapes as on PC

Open JBradlee opened this issue 4 years ago • 2 comments

I need a text editor that supports search and replace with newlines and tabs, and after enabling regex in ACode, I tried to break a comma-separated list into individual lines. But all I got were literal \n sequences. Couldn't find anything about this in the FAQs or issues list. Thank you!

JBradlee avatar Oct 17 '21 21:10 JBradlee

A little shocking this isn't included. Regex without literals is like a keyboard without a spacebar. It's pretty fundamental.

senselocke avatar Mar 25 '23 19:03 senselocke

This is still an issue even a year later 😟

caseychambliss avatar Apr 05 '23 02:04 caseychambliss

This bug is not from Acode, it is related to ajaxorg/ace #2869.

I've made a pull request there: #5675

You can test search & replace with \n or \t on this site: https://sekedus.github.io/ace/kitchen-sink.html

sekedus avatar Nov 18 '24 03:11 sekedus

https://github.com/Acode-Foundation/Acode/pull/1199

bajrangCoder avatar Feb 23 '25 15:02 bajrangCoder

2016就看到反馈“搜索/替换”换行符无效的问题,都2025年了 https://github.com/Acode-Foundation/Acode/releases 中最新版本还有存在该问题(☉_☉)

Ll-Years avatar Mar 08 '25 13:03 Ll-Years

2016就看到反馈“搜索/替换”换行符无效的问题,都2025年了 https://github.com/Acode-Foundation/Acode/releases 中最新版本还有存在该问题(☉_☉)

This is already fixed and it is in beta soon will be available in stable

bajrangCoder avatar Mar 08 '25 13:03 bajrangCoder