linuxmint / xed

X-Apps [Text] Editor (Cross-DE, backward-compatible, GTK3, traditional UI)
GNU General Public License v2.0
445 stars 84 forks source link

Please support ^ regex #606

Open mariadb-RoelVandePaar opened 10 months ago

mariadb-RoelVandePaar commented 10 months ago
 * Xed version 3.2.8

When using regex enabled search/replace, it would be super great to have ^ support. ^ is commonly the regex start-of-line character. For example, this allows easy inserting at the front of all lines by doing a regex search/replace from ^ to some_text which will insert some_text at the start of all lines. Thank you team and God bless

ghost commented 3 weeks ago

It does support ^, but only if text was matched. This is why it can't be used for inserting text. The same issue exists for $.

mariadb-RoelVandePaar commented 3 weeks ago

It does not support ^. ^ is regex for start-of-line.

ghost commented 3 weeks ago

@mariadb-RoelVandePaar I know, I said that because it looked like you're saying it doesn't support it at all.