The begin line (^) and end line ($) tokens are not working properly in regex find/replace. If I search from beginning of the document for ^ it goes to the start of the first line (correct) but I cannot do Find Next, also, Replace does nothing.
Same thing happens with $, cursor goes to the end of the first line, but I can't Find Next or Replace.
Replace All causes the application to hang.
Thanks.
P.S. Issue is present in v16.44 as well.
FIXED: Regex search (begin/end line tokens) (v16.44)
-
- Posts: 367
- Joined: 06 Jun 2012 11:08
-
- Posts: 367
- Joined: 06 Jun 2012 11:08
Re: Regex search (begin/end line tokens) (v16.44)
FWIW find & replace (also all) work for me; also Find next works as usual.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
-
- Posts: 367
- Joined: 06 Jun 2012 11:08
Re: Regex search (begin/end line tokens) (v16.44)
I'm definitely having issues, I've made a video... also got an error trying to close the app.
- Attachments
-
- 20250901-1917.png (13.98 KiB) Viewed 3817 times
Re: Regex search (begin/end line tokens) (v16.44)
I didn't understand you search for tokens ^ and $ as only search terms
Yes, I can confirm that hangs RJ TE.

Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
- Rickard Johansson
- Site Admin
- Posts: 6835
- Joined: 19 Jul 2006 14:29
Re: Regex search (begin/end line tokens) (v16.44)
I think all issues with find and replace are fixed. But the replace all issue is harder to pin down... I'm working on it...
- Rickard Johansson
- Site Admin
- Posts: 6835
- Joined: 19 Jul 2006 14:29
Re: Regex search (begin/end line tokens) (v16.44)
Fixed in next release (v16.45). Thanks!
-
- Posts: 367
- Joined: 06 Jun 2012 11:08
Re: Regex search (begin/end line tokens) (v16.45)
Hi Rickard, I've done a few tests and noticed a couple of issues...
1. If I search for begin line token (^), from beginning of the document, the cursor goes to the start of line 2, not line 1 as it should.
2. If I search for the end line token ($) and do a replace all, the replacement is inserted twice with a line break in between each insertion.
1. If I search for begin line token (^), from beginning of the document, the cursor goes to the start of line 2, not line 1 as it should.
2. If I search for the end line token ($) and do a replace all, the replacement is inserted twice with a line break in between each insertion.
-
- Posts: 367
- Joined: 06 Jun 2012 11:08
Re: Regex search (begin/end line tokens) (v16.44)
Found another small issue...
If I search a full line (.+), the first find matches on line 1 character 2 (should be character 1).
If I search a full line (.+), the first find matches on line 1 character 2 (should be character 1).