Skip to main content.
home | support | download

Back to List Archive

Re: Can I search for phrase "weezle\=sneezle"?

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri May 03 2002 - 19:41:48 GMT
At 12:14 PM 05/03/02 -0700, David Wood wrote:
>Hi folks,
>
>If the '=' char is _not_ defined in WordCharacters, should I still be able 
>to search for strings like 'weezle=sneezle' as a phrase?  If so, should the 
>syntax be:
>
>"weezle\=sneezle"

Sure.

The equals sign is a special char, so of course:

./swish-e -w 'weezle=sneezle' -H9   
# SWISH format: 2.1-dev-25
# Search words: weezle=sneezle
err: Unknown metaname 'weezle'

So you can escape that like this:

./swish-e -w 'weezle\=sneezle' -H9
..
# Search Words: weezle\=sneezle
# Parsed Words: weezle sneezle 
#
# Number of hits: 1


Ok, now inside a phrase everything (except "*" and a stop word) is plain text:

./swish-e -w '"weezle=sneezle"' -H9

# Search Words: "weezle=sneezle"
# Parsed Words: " weezle sneezle " 
#
# Number of hits: 1



-- 
Bill Moseley
mailto:moseley@hank.org
Received on Fri May 3 19:41:52 2002