wildcards should alow paragraph marks as it allows ^13

F

furia

When using wildcards, Word should allow searching for paragraph marks.
As a workaround we may use the code ^13.

Thanks.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...eb1d4f&dg=microsoft.public.word.docmanagement
 
J

Jezebel

Find with 'Use wildcards' follows the syntax for regular expressions, which
is an external standard, non-Microsoft and pre-dates Word. *Any* character
can be represented by its code, not just character 013. This is not a
work-around but part of the standard.
 
J

Jay Freedman

What you say is true as far as it goes, but Microsoft screwed up in both
directions:

- They didn't implement regular expressions completely. For example, they
left out the ability to search for zero or more occurrences of an item --
that is, {0,} is not a valid part of a wildcard expression in VBA.

- They didn't implement the codes ^p, ^t, etc. for Find.Text in a wildcard
search, but those codes do work in the Find.Replacement.Text expression in
the same search.

--
Regards,
Jay Freedman
Microsoft Word MVP
Find with 'Use wildcards' follows the syntax for regular expressions,
which is an external standard, non-Microsoft and pre-dates Word.
*Any* character can be represented by its code, not just character
013. This is not a work-around but part of the standard.
http://www.microsoft.com/office/com...eb1d4f&dg=microsoft.public.word.docmanagement
 
J

Jezebel

That's true. They also use minimal matching where true REs use maximal.
Still, I'd prefer it as-is than with more bells and whistles added.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top