Jump to content
Peter Kahrel

Regular expressions: \b works only at word-beginning

Recommended Posts

For me they both work in that the text is found, looking in the results list. However the\b does not highlight the match in the text frame.

And as I mentioned in another topic, a Replace operation involving a \b that matches the end of a word fails.

I also found while experimenting with this that it was a good idea to do a different search (to generate a different results list) in between searching for \bthe and the\b. Otherwise it's hard to determine exactly what was going on.


-- Walt

Windows 10 Home, version 1909 (183623.476),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.3.641 and 1.8.3.641 Beta   / Affinity Designer 1.8.3.641 and 1.8.3.641 Beta  / Affinity Publisher 1.8.3.641 and 1.8.3.627 Beta.

Share this post


Link to post
Share on other sites

Confirmed: the\b shows the match (with context) in the display panel, but the match isn't highlighted, isn't highlighted when you click the displayed item in the panel, and replace doesn't work either. Refreshing the search panel with another search doesn't improve anything.

Peter

Share this post


Link to post
Share on other sites
1 hour ago, Peter Kahrel said:

Confirmed: the\b shows the match (with context) in the display panel, but the match isn't highlighted, isn't highlighted when you click the displayed item in the panel, and replace doesn't work either.

Confirmed. Seems to be the same issue that I found in the Mac version:)

Share this post


Link to post
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.


×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.