All:
I am a retired software developer with experience in the use of regular expressions, and have attempted to use REGEXs to perform slightly elegant searches on the WH Greek NT.
My first goal is to be able to search the WH GNT for all occurrences of a particular verb (by Strongs #); this was simple and worked as expected.
My second goal was to be able to search for some combination of TVM tags; this also was simple and worked as expected.
The problem occurs when I try to combine those searches. In every case they FAIL with 0 matches. (Moreover, simple searches like find an expression at the beginning of a verse failed; the Greek word I was searching for would be found anywhere within the verse. Another example of a failure was the use of the \b boundary controls; embedded words would be matched that did not obey the boundary controls.)
In order to troubleshoot these failures, I first ensured that the search expression was valid by copying the text from the Bible window in e-Sword into the TEST STRING field in the online REGEX101 utility and the search expression into the REGULAR EXPRESSION field. These performed as expected and found all relevant matches.
It finally dawned on me that perhaps the underlying format of the Greek NT was not compatible with anything other than very simple expressions. Does anyone have experience doing elegant searches on the WH+ GNT?
I'd like to find these questions out one way or the other.
Thanks much!
Dave