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?
|