Hi,
I would like to perform a search with a pattern set.
According to Appendix F of the Macro Language Manual,
|{set} Matches one occurrence of any item in the “pattern set”.
So let S_1 and S_2 be two given strings. I did succeed in searching for any of these two strings. I typed
Search("S_1") and Search("S_2")
This worked like a charm.
However, I can not search for either of these two strings !
I thought that defining my pattern set to be,
{S_1,S_2}
and typing
Search("|{S_1,S_2}")
would do the job. However, I get a BAD PARAMETER error message.
I have a hunch that I am missing something simple. But I can not figure it out.
Thanks,
-peter
|
|