Seneca Posted February 22, 2019 Share Posted February 22, 2019 Now that we have Regular Expressions it would be great to save them as presets so that we can call them later. Thanks. MikeW, Michail, garrettm30 and 2 others 5 Quote 2017 27” iMac 4.2 GHz Quad-Core Intel Core i7 • Radeon Pr 580 8GB • 64GB • Ventura 13.6.4. iPad Pro (10.5-inch) • 256GB • Version 16.4 Link to comment Share on other sites More sharing options...
MikeW Posted February 22, 2019 Share Posted February 22, 2019 5 minutes ago, Seneca said: Now that we have Regular Expressions it would be great to save them as presets so that we can call them later. Yes, and to be specific, the saving of the replace strings as well. (And I would add that not all regular expressions can even be used in the Replace input. So that needs fixing.) Seneca 1 Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted February 22, 2019 Share Posted February 22, 2019 1 hour ago, MikeW said: And I would add that not all regular expressions can even be used in the Replace input. So that needs fixing Some specific examples of that would help, though probably best in a separate topic. SillyWalk 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...
MikeW Posted February 22, 2019 Share Posted February 22, 2019 Just try the \s from the other post from Seneca. I mentioned it there. Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted February 22, 2019 Share Posted February 22, 2019 1 hour ago, MikeW said: Just try the \s from the other post from Seneca. I mentioned it there. And see my response there Publisher handled that properly. 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...
garrettm30 Posted February 22, 2019 Share Posted February 22, 2019 I'm very excited to have regular expressions at all. My impression of the power of this program has gone up greatly from this addition. I understand this is just the first beta of the new feature. Like, Seneca's suggestion, adding the ability to save searches/replace combos (particularly regex, though why stop there?) is what I would recommend for the next step of fleshing out this feature. I regularly run through a set of fifteen in almost every document, and having them saved in the app itself makes it easier. Quote Link to comment Share on other sites More sharing options...
SillyWalk Posted February 23, 2019 Share Posted February 23, 2019 It's really huge progress with RE, thank you! It would be really great feature to save strings as preset but also possibility to use custom name of that preset in palette menu e.g. "Dash to En Dash", "Multiple space to single space" etc. Quote iMac: 3,6 GHz 10-Core Intel Core i9 / Graphic: AMD Radeon Pro 5500 XT 8 GB / System: Sonoma 14.1 (23B74) Link to comment Share on other sites More sharing options...
garrettm30 Posted February 23, 2019 Share Posted February 23, 2019 I assumed that to be a given, but it is right that you pointed it out. Assuming things can be dangerous. Thank you. Quote Link to comment Share on other sites More sharing options...
Mike Perry Posted November 18, 2022 Share Posted November 18, 2022 I'm fiddling with Regex in 2.0 and am amazed that either the ability to save searches doesn't exist or it is remarkably well hidden. I format 400+ page science texts from Word sources and doing so would be misery without a series of InDesign's GREP searches. But the key to doing that is to be able to name and save them. Without that feature, doing those documents with Regex in Publisher is nigh unto worthless. I'd have to enter complex strings many dozens of times a day. That keeps me stuck with ID. That said, Publisher could equal and exceed ID in features if it added not only saved searches but as another poster pointed out the ability to run a set of them in sequence. I have about half a dozen GREPs I run with each chapter of a book. That I must do over and over again, hoping I don't forget one. It'd be great if Publisher could let us name searches and run saved sets of searches. Even better would be the ability to specify when using Place with text to run a set of replaces on the incoming text. That would remove a lot of the tedium. Quote Link to comment Share on other sites More sharing options...
GaryLearnTech Posted November 18, 2022 Share Posted November 18, 2022 That sounds like a really good candidate for scripting. We were told - informally - that this was being worked on a year or two back. Obviously, scripting isn't there in v2.0, but I'm hopeful that it will become available "shortly". Possibly in v2.1? Well, some time before v3 is launched anyway. 😀 Quote —— Gary —— Photo/Designer/Publisher: Affinity Store, v2.4.n release Mac mini (M1, 2020), 16GB/2TB, macOS Ventura 13.4.1(c) • MacBook Pro (Intel), macOS Ventura • Windows 10 via VMware Fusion • iOS: current release 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.