regexp bug in 1.213, 1.214

Solved bugs are moved into this topic...
Post Reply
phi
Posts: 3
Joined: 02.05.2024 08:50

regexp bug in 1.213, 1.214

Post by phi »

use of (?= ... ) makes all replacement variables $0, $1... blank.

btw, (framebox) highlighting sometimes is not visible and it doesn't take syntax elements options into account
main Alexey
Posts: 2245
Joined: 25.08.2021 18:15

Re: regexp bug in 1.213, 1.214

Post by main Alexey »

I don't understand, give me example of RexEx which you search for.

> (framebox) highlighting sometimes is not visible
I don't understand too. can you give details, screenshot?
main Alexey
Posts: 2245
Joined: 25.08.2021 18:15

Re: regexp bug in 1.213, 1.214

Post by main Alexey »

I reproduced problem with blank $1, $2.
File text: aaa bbbccc
Search for regex: (\w+)\s+(\w+)(?=ccc)
Replace with: $2/$1

I will investigate it, thanks.
main Alexey
Posts: 2245
Joined: 25.08.2021 18:15

Re: regexp bug in 1.213, 1.214

Post by main Alexey »

RegEx blank variables $0 $1.... are fixed, wait for the update.
Tell me detailed description about 2nd issue.
Post Reply