Just went through the Reg Exp. and came across a couple of errors. I think? Anyone else run across these?
Lesson 14: Beginning Verse Anchor “^”
The “^” anchor tells e-Sword to find our search term at the beginning of a verse.
Search for: ^ God
Explanation: Locates all verses starting with the characters “God”.
Verses found: All verses starting with the characters “God”.
Verses not found: Verses with “God” anywhere else in the verse.
Because each e-Sword verse begins with a space, we have a space in “^ God”.
After testing this RegEx I found that if you do not put a space between the ^ and the word you are searching for (^Jesus)
you will get all the verses that start with Jesus.
Mat_8:7 Jesus *said to him, "I will come and heal him."
Joh_11:35 Jesus wept.
If you put the space in you get nothing.
Lesson 15: Ending Verse Anchor “$”
The “$” anchor tells e-Sword to find our search term at the end of a verse.
Search for: man $
Explanation: Locates all verses ending with the characters “man”.
Verses found: All verses ending with the characters “man”.
Verses not found: Verses with “man” anywhere else in the verse. Will NOT find verses ending in “man.”, “man?”, “man;” etc.
Search for: man\W? $
Explanation: Locate all verses ending with the characters “man”, including between zero and one non-word character. “\W” specifies the non word character. “?” quantifies the non-word character to say zero or one non-word characters. Non word characters are all characters other than a-z, A-Z, 0-9, and the underscore _ sign.
Verses found: All verses ending with the characters “man” plus a non-word character. This search locates “man”, “man.”, “man?”, etc.
Verses not found: Verses with “man” anywhere else in the verse.
man$
Luk_23:50 And a man named Joseph, who was a member of the Council, a good and righteous man
man\W?$
Exo_28:6 "They shall also make the ephod of gold, of blue and purple and scarlet material and fine twisted linen, the work of the skillful workman.
Once again I found that if the space is used then you get “0” returns. What works is “man$” and “man\W?$” Has anyone else found this to be so?