[sword-devel] Sword Searching

Chris Bitmead sword-devel@crosswire.org
Fri, 26 Apr 2002 00:43:15 +1000


Well if \bword\b is actually a solution, then presumably coding up an 
"exact word match" option
should be easy. Just substitute the \b before each word and call the 
regexp code.

Actually I thought I was pretty expert in regexps, but I havn't heard of \b.

David Burry wrote:

>In most open source projects I've seen, people primarily write free code because they want to use it, the fact that others may (or may not) find it useful too is secondary.  It seems to be a natural thing that open source in general fosters among the selfish human race.  It's not as bad here as we all seem to have more of a "missionary" spirit, but it's still a lot of work to code, so I know I need to get really excited about something before I'll dive headlong into it (and if you're already more excited about it than me then you'll likely beat me to it).  Does that help explain some?
>
>Dave
>
>
>At 03:48 PM 4/24/2002 -0600, Jorge Chacon wrote:
>
>>Well,
>>
>>With all the prospective users I know, not even a 2-hour class on
>>regular expressions would do the trick.
>>
>>Seriously, is our target computer-savvy users or Christians that happen
>>to use a computer?  I do not claim to know the answer, but the answer to
>>this question should dictate the solution.
>>
>>Jorge
>>
>>
>>On Wed, 2002-04-24 at 15:19, Chris Little wrote:
>>
>>>We could use this as a good excuse to start teaching the commoners about 
>>>regular expressions.  Anyone feel like finding/writing a regex tutorial 
>>>for the FAQ?
>>>
>>>--Chris
>>>
>>>On Wednesday, April 24, 2002, at 03:03 AM, Chris Bitmead wrote:
>>>
>>>>Call me a "fool" but I think this is too geeky for your typical bible 
>>>>reader. And the ability to search
>>>>for a word is, well, pretty fundamental don't you think?
>>>>
>>>>Jacob Daniel wrote:
>>>>
>>>>>I believe that \bfool\b with Regular Expression search should work.
>>>>>
>>>>>On Tue, Apr 23, 2002 at 05:19:07PM +0200, Martin Gruner wrote:
>>>>>
>>>>>>>I wish you could do plain word searches in Sword. I.e. I wish
>>>>>>>I could search for "fool" without getting all references to "foolish"
>>>>>>>for example.
>>>>>>>
>>>>>>You can. Search for " fool ", using exact search.
>>>>>>
>>>>>>Martin
>>>>>>
>>>