Albert L Ting writes:
> Colin Rafferty writes:
>> Albert L Ting writes:

>> > When searching for an email address, typically one enters the userid and
>> > expects bbdb to do a string match to find the full address.  But if I'm
>> > searching for the email address "ian", I don't want bbdb to return
>> > "[EMAIL PROTECTED]" and "[EMAIL PROTECTED]".   

>> Since bbdb-net (and all the other search functions) use regular
>> expressions, you should specify the correct regular expression
>> yourself, and enter "^ian" as the argument.

> That's true.  I guess I should have been more specific.  The problem occurs
> with bbdb/vm-pop-up-bbdb-buffer, it automatically fetches the email
> addresses and calls bbdb-search.  I couldn't find an easy way to embed "^"
> in the net string without clobbering something else.  

Ah.  Then fix bbdb/vm-pop-up-bbdb-buffer to put the ^$ around what it
should.

Even better, use \\` and ``' instead of ^ and $, since it's not really
beginning and end of lines.

-- 
Colin

_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to