[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV Question about LYSearch.c/textsearch()
From: |
Larry W. Virden, x2487 |
Subject: |
LYNX-DEV Question about LYSearch.c/textsearch() |
Date: |
Sun, 19 Oct 1997 06:00:45 -0400 |
Question for folk familar with this function.
It looks like, from a simple look at the code, that lines similar to:
if ((cp = (char *)HTList_objectAt(search_queries,
QueryNum)) != NULL &&
!strcmp(prev_target_buffer, cp)) {
break;
}
take care of the actual comparisons being done in the whereis functionality.
What I am wondering about is the possibility of replacing strcmp with a
function which does some regular expression matching. Are there any
'gotchas' here that I should be sure to consider before embarking on
such an experiment?
--
Larry W. Virden INET: address@hidden
<URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
Unless explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- LYNX-DEV Question about LYSearch.c/textsearch(),
Larry W. Virden, x2487 <=