walt.farrell Posted July 7, 2019 Share Posted July 7, 2019 Experimenting with regular expression Find/Replace, I discovered an anomaly using the ^ character, which should match the beginning of a line. I started with this text: and did a search for a very simple regular expression: just the ^ character and nothing else. From my previous regex experience, this should match: Before the first paragraph break Before O in Off Before R in Riding Before i in into Instead, based on the resulting cursor position in each case, it matched: Before the first paragraph break Again, before the first paragraph break Before the second paragraph break Before the line break Before the last paragraph break (but in the find results, it was after the last paragraph break) find-caret.afpub Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 17.7, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7 Link to comment Share on other sites More sharing options...
Staff Jon P Posted September 17, 2019 Staff Share Posted September 17, 2019 Hi Walt, Apologies for the delay in our response! This seems to be alright for me in 1.7.2, unless my expectations are wrong? I've attached a replace a did on the occurrences it found. Quote Serif Europe Ltd. - www.serif.com Link to comment Share on other sites More sharing options...
lacerto Posted September 17, 2019 Share Posted September 17, 2019 (...) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.