JamesCanning Posted May 8, 2020 Share Posted May 8, 2020 Hi people. I haven't been here for a while, I hope all of you are still chugging along well. My problem is: I'm trying to replace a string of six asterisks with a paragraph return. I get the error: "<Invalid preceeding regular expression prior to repetition operator>". Why might that be? Thank you! James Quote Link to comment Share on other sites More sharing options...
Old Bruce Posted May 8, 2020 Share Posted May 8, 2020 Going to have to escape the Asterixs AsterI Asterixes ... Asterisks (expletive deleted) try changing ****** to \*\*\*\*\*\* EDIT * is a wildcard and that is why it must be escaped. Quote Mac Pro (Late 2013) Mac OS 12.7.4 Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
walt.farrell Posted May 8, 2020 Share Posted May 8, 2020 Or, use a Normal find/replace not a regular expression find/replace. Then ****** is a literal automatically and no escapes are needed. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1 Link to comment Share on other sites More sharing options...
JamesCanning Posted May 8, 2020 Author Share Posted May 8, 2020 THANK both of you! Walt you're still rolling along answering everything. Good for you. More Walts are needed :-) James walt.farrell 1 Quote Link to comment Share on other sites More sharing options...
Old Bruce Posted May 8, 2020 Share Posted May 8, 2020 3 hours ago, JamesCanning said: More Walts are needed 🙂 My theory is that he cloned himself and works 24 7 keeping up with what he has/they have learned and then passing it on. walt.farrell 1 Quote Mac Pro (Late 2013) Mac OS 12.7.4 Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
walt.farrell Posted May 8, 2020 Share Posted May 8, 2020 3 minutes ago, Old Bruce said: My theory is that he cloned himself and works 24 7 keeping up with what he has/they have learned and then passing it on. No, he just needs to spend more time working on other things, instead of playing on the computer. Alfred 1 Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1 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.