Maybe I missed it in the REGEX section of the tutorial, and maybe I missed it cursorially searching the forums for an answer, but I'm wondering how to do a REGEX search for any plural/possessive/hyphenated, etc. forms of the root string that DO NOT include the root string. For example:
"God's"
"Gods"
"God-...."
But NOT "God".
Thanks.
REGEX question
Started by resurrection2016, Jul 14 2012 02:27 PM
4 replies to this topic
#5
Posted 15 July 2012 - 07:03 AM
Anyone? Why does this work?
You would need to study how regular expressions work to understand it. There is a section in the User Guide, that comes with e-Sword. Also there is a great source of info here http://www.regular-expressions.info/
Jon
Don't know why I did it that way. I suppose easier would be a positive lookahead, so it is looking for God followed by an apostrophe or hyphen or a to z any amount of times.
God(?=['a-z-]+)
This is better as it does not hit the italics God
After some developer feedback, I now understand that the first regex is encountering some rtf code {\cf15\i God} where the grey Italic is used. So for instance if you tried to search doth any which is found at Jer 51:43 you would have to use this doth \{\\cf15\\i any to find it with a regex.!!!! eeek
Edited by JPG, 15 July 2012 - 01:50 PM.
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users
Tweets by @biblesupport
Similar Topics
Question about modules (bbli and bblx)Started by Guest_PhilF_* , 12 Dec 2023 |
question about searching all e-sword resourcesStarted by Guest_Remuhs_* , 28 Jun 2023 |
Hebraic Roots Bible question?Started by Guest_uncle808us_* , 04 Jun 2023 |
How about a regex forumStarted by Guest_PeanutGallery_* , 13 Jan 2023 |
ESV+ questionStarted by Guest_paulri_* , 11 May 2017 |
Frequently Asked Questions
Latest Blogs
- 10 justifications for Bible reading
by SarahSherrill, Jun 27 2022 02:53 AM
According to the experts from Astros DigitalHere are ten reaso... - How can I fix the Cash App if it isn't Working?
by cashcardhelps, Jun 07 2022 01:12 AM
First, you must keep the app up to date with the most recent v... - How can an app benefit your pharmacy in growing business earnings
by Alteza, Jun 06 2022 03:14 AM
Apps comprise a large portion of the tech-driven society that... - What Is a Satire Essay Anyway?
by Caleb9, Jun 04 2022 08:22 AM
What Is a Satire Essay Anyway?A large number of professional w... - 25% OFF on Mauli Thread Rakhi Online for Brother
by giftsvalla, Jun 03 2022 02:02 AM
Mauli Rakhi are generally red. The red colour symbolizes stren...