[sword-devel] Comming soon: new improved sword searching

Joel Mawhorter sword-devel@crosswire.org
Sun, 08 Sep 2002 08:45:56 -0700


On September 7, 2002 23:40, David's Mailing List and Spam Reciever wrote:
>
> I still wouldn't take out regular expressions. There quite powerful and
> facilitate things like searching beginning and ends of
> verses/lines/whatever it ends up being I forget off hand. Additionally,
> regex syntax is sometimes easier for us *nix heads than stringing together
> a bunch of boolean logic strings. ^_~ Plus, it's just useful in language
> bindings that support regex and not that other. For example Perl, python
> and php all have native regex. and I'd wadger with perl at least it would
> be easier on us perl developers to let us use Perl or POSIX compliant regex
> directly into the functions in the bindings and stuff than it is for us to
> build complex booleans. But I can think of instances where both would be
> useful.

I don't plan on removing any current functionality so regex support will stay 
as it is. It just won't be augmented by the indexed searching like the other 
search methods will.

> Furthermore I just plain think regex is keen :D
>
> But really I don't see why we shouldn't provide either both or some mix of
> the two as what you've got is pretty powerful too and easier to use than
> regex for the uninitiated. Anyway it's late. I've been coding in Pascal
> most of the day and now I must sleep for Pascal is evil.