Editor Regex Saved Searches Now very "Greedy"
I just updated to 4.20 and immediately noticed that saved regex searches which I have been using for years now find way too much text, and are unpredictable. (Ubuntu 18.04)
For example, a searche for ' id=."*?"'. It has always found just each id string. Now it finds that string, and continues on until some random " way down in the file. Might be one paragraph down, might be at the end of the file. If I use it in the regular manual search box, it still works fine.
Another example, searching for 'line-height:.*?;' in the css finds the first one, but then continues down to some ; further down. But it ignores some ;s - I can't figure out what is causing it to stop at some one instance instead of another. Again, if I do the search in the normal search box, it works perfectly.
A third example: <div.*?> finds both <div class="calibre1"> and <div class="calibre5" id="calibre_pb_70"></div> in the saved search if I uncheck "dot amtches all". If I check that, it finds huge amounts of text, stopping at some random >. Again, it works fine when not saved.
I've tried re-saving the searches...still the same.
Anyone else seeing this?
|