Jump to content

Please read the Forum Rules before posting.

Photo
- - - - -

Search problems


8 replies to this topic

#1 resurrection2016

resurrection2016

    Liking e-Sword

  • Veterans
  • PipPip
  • 17 posts
Offline

Posted 01 July 2012 - 09:19 PM

Why does e-Sword automatically include apostrophe s endings on base words searched, whether in "exact phrase" or "REGEX" mode? Example, "Jesus Christ" includes the two verses where "Jesus Christ's" appears. Thank you.

#2 Josh Bond

Josh Bond

    Administrator

  • Administrators
  • PipPipPipPipPip
  • 2,891 posts
  • LocationGallatin, TN
Offline

Posted 01 July 2012 - 09:36 PM

#1 If you search for "Jesus Christ" with regular expressions, it should return "Jesus Christ's" results. There's nothing in the expression to exclude it. But regex supports the word boundary: \b. You are able to place a \b at the end of a word, to find only that word and not variations of that word. e-Sword is not respecting the \b word boundary when an apostrophe comes next. e-Sword does respect the word boundary when the next character is not an apostrophe. That is a bug.

#2 It also seems to be a bug with Search for Exact Phrase. If you search for "plund", it does not find "plundering". Yet it does find "Jesus Christ's" when you search for "Jesus Christ". Someone might argue that one either way but it should be consistent, from a usability perspective.

Tell Rick about it (www.e-sword.net/feedback.html) and see what he says, if anything.

Josh

#3 resurrection2016

resurrection2016

    Liking e-Sword

  • Veterans
  • PipPip
  • 17 posts
Offline

Posted 01 July 2012 - 10:09 PM

Furthermore, including "Jesus Christ's" in the exlcusion box for exact phrase returns 0 results.

And why doesn't "plund\w" return "plundering"? (regex)

But thanks for the suggestion - I will forward to Rick.

#4 Josh Bond

Josh Bond

    Administrator

  • Administrators
  • PipPipPipPipPip
  • 2,891 posts
  • LocationGallatin, TN
Offline

Posted 01 July 2012 - 10:14 PM

And why doesn't "plund\w" return "plundering"? (regex)

But thanks for the suggestion - I will forward to Rick.


It does for me, when reg-ex is selected

#5 resurrection2016

resurrection2016

    Liking e-Sword

  • Veterans
  • PipPip
  • 17 posts
Offline

Posted 01 July 2012 - 10:18 PM

Hmm, it doesn't for me; made sure regex was selected and typed plund\w and got nothing. Is this a known glitch for version 10.1.0?

#6 resurrection2016

resurrection2016

    Liking e-Sword

  • Veterans
  • PipPip
  • 17 posts
Offline

Posted 01 July 2012 - 10:25 PM

Ohhh, never mind. You must be using a diff version than KJV - it doesn't appear in KJV. Got it.

#7 Josh Bond

Josh Bond

    Administrator

  • Administrators
  • PipPipPipPipPip
  • 2,891 posts
  • LocationGallatin, TN
Offline

Posted 01 July 2012 - 10:37 PM

Ohhh, never mind. You must be using a diff version than KJV - it doesn't appear in KJV. Got it.


I wasn't using the KJV at all. I was searching a commentary where I knew "plundering" existed.

#8 resurrection2016

resurrection2016

    Liking e-Sword

  • Veterans
  • PipPip
  • 17 posts
Offline

Posted 01 July 2012 - 10:40 PM

Got it. Thanks.

Just forwarded to Rick. Hopefully this gets fixed, as it is annoying not being able to trust my search results.

#9 resurrection2016

resurrection2016

    Liking e-Sword

  • Veterans
  • PipPip
  • 17 posts
Offline

Posted 02 July 2012 - 02:26 PM

Josh Bond, et al. Here is Rick's response:

" Apostrophes are considered a word-part, that is why even Regular Expressions
exclude them from the word boundary. Words like don't, I'll, etc., are not
even legitimate words without the apostrophe.

If you want to excluded possessive forms, then use Regular Expressions and
place [^'] at the end of the search term.

In His service,

Rick Meyers
rick@e-sword.net"



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users




Similar Topics



Latest Blogs