[sword-devel] diatheke search type regex and the dot ?

Greg Hellings greg.hellings at gmail.com
Thu Mar 2 12:14:21 MST 2017


$ diatheke -b KJV -s regex -k Abed.nego
Verses containing "Abed.nego"-- none (KJV)

Once I correct the command to include the -k parameter, I also get no
results.

--Greg

On Thu, Mar 2, 2017 at 12:58 PM, David Haslam <dfhmch at googlemail.com> wrote:

> I was under the impression that the metacharacter *dot* in a regex means
> "any
> single character".
>
> It would seem that for diatheke with *-s regex* this is not the case at
> all.
>
> Example:
>
> diatheke -b KJV -s regex Abed.nego
>
> In Windows command shell, that command line does not find the 15 instances
> of the name *Abed–nego* where the *en dash* (U+2013) is the punctuation
> mark
> in all such names.
>
> What happens in Linux?
>
> David
>
>
>
>
> --
> View this message in context: http://sword-dev.350566.n4.
> nabble.com/diatheke-search-type-regex-and-the-dot-tp4656879.html
> Sent from the SWORD Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20170302/531bc591/attachment.html>


More information about the sword-devel mailing list