View Single Post
Old 03-23-2024, 06:31 AM   #25
moldy
Enthusiast
moldy began at the beginning.
 
Posts: 43
Karma: 10
Join Date: Oct 2015
Device: Kindle
Looking at the function further @lomkiri.

Using Find: >\K([^>]+)(?![^<>{}]*[>}])

Because of the look-ahead I would have expected any text inside <> or {} to be ignored as part of the match. However using the example:

<p>John <George> {Paul} Ringo</p>

George is not matched but Paul is. Have I mis-understood how the look-ahead works?
moldy is offline   Reply With Quote