Consultor Eletrônico



Kbase 14167: RESULTS - How to search for */ & not have it seen as comment
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
RESULTS - How to search for */ & not have it seen as comment


If a customer is trying to get RESULTS to search for data
containing the "/" and is using the wildcard character "*",
they may run into the problem where RESULTS flags */ as a
comment, leading to possible syntax errors for the rest of
the search pattern. For example, say you want to search
for items matching this pattern: */is/*. That is:

/is/
abc/is/
abc/is/xyz

etc. Almost the same can be accomplished by using the
following search criteria:

*./is/.*

The introduction of the '.' avoids the problem of the */
being taken as the comment delimiter. However, one
should note that '.' requires at least one character to
appear before the /, whereas the * includes null. If
the search needed to include the case of /is/ as a match,
with no preceding or trailing characters, then they would
have to search for that separately with simply "/is/".

Progress Software Technical Support Note # 14167