Jump to content
You must now use your email address to sign in [click for more info] ×

Pasting RegEx search pattern in Publisher v.2 introduces odd character at end of pasted content


Recommended Posts

Hi,

As part of final checking for a quarterly magazine that I construct with Publisher, I have a checklist that, among other things, contains RegEx patterns that I use to detect extraneous spaces, periods not followed by a space, etc.  Beginning with Publisher 2, when I paste the RegEx pattern into the "Find" input control, there's an extraneous character that's appended to what I pasted in, and this character causes the search to fail.  I quickly found that a workaround is to just delete this extraneous character prior to doing the search, but I'm curious as to what it actually is.  For example, in the attached screenshot, the RegEx pattern that I pasted in was "\.  " (backslash, period, space, space), which I use to scan the document for extra spaces following periods. Looking at what got pasted into the input control, there's a white "blob" looking character that's at the end of the pattern, which is not a part of what I pasted in.  Could someone explain what this is, and possibly how to prevent this from appearing every time I paste a RegEx pattern?

Thanks!

Ken

 

UnknownCharacterAfterRegExPaste.tiff

Link to comment
Share on other sites

Hi Ken. That's the end of story character, what you'd see if you turned on show hidden characters and looked at the end of the story. It's a known bug with Find and Replace in v2 and hopefully will be fixed soon. As you said, the workaround is to just delete it.

Cheers

Download a free manual for Publisher 2.4 from this forum - expanded 300-page PDF

My system: Affinity 2.4.2 for macOS Sonoma 14.4.1, MacBook Pro 14" (M1 Pro)

Link to comment
Share on other sites

11 minutes ago, MikeTO said:

Hi Ken. That's the end of story character, what you'd see if you turned on show hidden characters and looked at the end of the story. It's a known bug with Find and Replace in v2 and hopefully will be fixed soon. As you said, the workaround is to just delete it.

Cheers

Thanks for letting me know.  I also have encountered what appear to be copy / paste problems in the "Find" input control, where sometimes I'd click in the control, do Cmd-A to select all, and then paste in the new search parameters, with the result that the previous content doesn't always get replaced by the "Paste" command.  I haven't been able to reliably repeat this, since I'm up against a deadline to get the current magazine file done, but I'll look into this issue a bit more when I have time.

Thanks again!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.