Search found 9 matches

by dc9f79b7
26.11.2021 17:20
Forum: General - CudaText
Topic: Replace text with regex (unexpected result)
Replies: 19
Views: 5840

Unfortunately I don't have a blog or youtube channel, but I have purchased "Universal Viewer Pro".
by dc9f79b7
23.11.2021 15:06
Forum: General - CudaText
Topic: Replace text with regex (unexpected result)
Replies: 19
Views: 5840

Ok.
by dc9f79b7
23.11.2021 00:15
Forum: General - CudaText
Topic: Replace text with regex (unexpected result)
Replies: 19
Views: 5840

Text: 0 1 2 3 4 5 6 7 8 9 Search: \d Replace: \d RegEx substitute for 'Replace with = off Replace result: \d \d \d \d \d \d \d \d \d \d RegEx substitute for 'Replace with = on Replace result: d d d d d d d d d d Works! Thx you very much! The state of the option should not be swapped?
by dc9f79b7
22.11.2021 21:12
Forum: General - CudaText
Topic: Replace text with regex (unexpected result)
Replies: 19
Views: 5840

Any option implementation:
Search: {regex_mode}
Replace: {escape_mode} or {plain_text}

would be very helpful in my case. If it will be added, then I will be very grateful.
by dc9f79b7
22.11.2021 20:50
Forum: General - CudaText
Topic: Replace text with regex (unexpected result)
Replies: 19
Views: 5840

Search option:
  • Consider escape sequences (default mode)
  • Plain text (optional mode)
doesn't make sense either?
by dc9f79b7
22.11.2021 19:47
Forum: General - CudaText
Topic: Replace text with regex (unexpected result)
Replies: 19
Views: 5840

Yes "\n", "\t", "\r" etc. - is good. But mode work with "\q" and other characters. Maybe take into account only: Predefined escape-codes - https://regex.sorokin.engineer/en/latest/regular_expressions.html#non-printable-characters-escape-codes Substitute - http...
by dc9f79b7
22.11.2021 19:27
Forum: General - CudaText
Topic: Replace text with regex (unexpected result)
Replies: 19
Views: 5840

Ok. What about large fragments of code or markup? Each time you will have to first escape all the characters in the replacement string text.
by dc9f79b7
22.11.2021 19:10
Forum: General - CudaText
Topic: Replace text with regex (unexpected result)
Replies: 19
Views: 5840

It is necessary to replace any digits in the text with "\d": "0" to "\d" ... "9" to "\d" Why use escaping for "\d" or "\u" or "\w" (but not for "[" or "]" or "^" etc) in the replacement stri...
by dc9f79b7
22.11.2021 17:16
Forum: General - CudaText
Topic: Replace text with regex (unexpected result)
Replies: 19
Views: 5840

Replace text with regex (unexpected result)

Input text: 0 1 2 3 4 5 6 7 8 9 Open Replace dialog (Ctrl+R) and enable regex mode (Alt+R) Search string: \d Replace string: \d Press "Replace all" (Alt+A) Result text: d d d d d d d d d d If repeat with: Search string: \d Replace string: \\d then result text (that expected result): \d \d...