Bug 464725 - Lookbehind regex not working
Summary: Lookbehind regex not working
Status: REPORTED
Alias: None
Product: kate
Classification: Applications
Component: search (show other bugs)
Version: 22.08.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-24 09:06 UTC by H.H.
Modified: 2023-01-24 09:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.H. 2023-01-24 09:06:16 UTC
I have following example:

Regex (it should find $myvar but not @$myvar):
(?<!@)\$myvar

on text
abcde @$myvar abcde $myvar

kwrite highlights both as matches, but it should only find the second.

I tested it successfully here: https://regex101.com/