[Info-vax] stumped by strange SEARCH behaviour
Craig A. Berry
craigberry at nospam.mac.com
Sun Nov 27 10:42:36 EST 2022
On 11/27/22 9:35 AM, Phillip Helbig (undress to reply) wrote:
> $ typ test.txt
> <A HREF="http://test.org/abs/"> 1
> $ sea test.txt "<A HREF=""http://test.org/"""
> %SEARCH-I-NOMATCHES, no strings matched
> $ sea test.txt "<A HREF=""http://test.org/a"""
> %SEARCH-I-NOMATCHES, no strings matched
> $ sea test.txt "<A HREF=""http://test.org/ab"""
> %SEARCH-I-NOMATCHES, no strings matched
> $ sea test.txt "<A HREF=""http://test.org/abs"""
> %SEARCH-I-NOMATCHES, no strings matched
These have no double quote in the source document at the place where the
search requires it. For example, "http://test.org/" does not exist in
what you are searching but "http://test.org/ (without the trailing
double quote) does.
> $ sea test.txt "<A HREF=""http://test.org/abs/"""
> <A HREF="http://test.org/abs/"> 1
In this case there is a double quote in the source document right after
the '/abs/' so it matches your search string.
> Why aren't the previous matches found?
>
More information about the Info-vax
mailing list