https://bugs.kde.org/show_bug.cgi?id=497875

            Bug ID: 497875
           Summary: Cannot replace content when search with a regex that
                    contains nested lookahead assertions
    Classification: Applications
           Product: kate
           Version: Git
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: search
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: danny2013...@gmail.com
  Target Milestone: ---

Some simple text as follows:

`A regular expression search.`

When using the search and replace in Kate with a regular expression that
contains nested lookahead assertions like:

`re(?=g|s(?!s))`

and attempt to replace it with:

`te`

it successfully locates "re", but fails to perform the replacement.

I try this expression in VSCode and other editors, however, results in a
successful replacement to:

`A tegular expression search.`

This problem seems to show in the latest few versions.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to