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

David Haslam dfhmch at googlemail.com
Thu Mar 2 11:58:54 MST 2017


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.



More information about the sword-devel mailing list