Search results problem

The place to discuss the Linux/Ubuntu edition
Post Reply
wmcdannell
Posts: 13
Joined: Thu Oct 12, 2023 5:13 pm

Search results problem

Post by wmcdannell »

Latest BA, Kubuntu 22.04.3 up to date.

Please see the screenshot (too big to attach):
https://imgur.com/a/W2As4MD

In this particular case I was searching for first-occurrences of words that begin with the letter "g" so the query I used was "g*" (otherwise default search options).

There are two problems one is obvious and the other might not be. The first one is that the html code gets messed up somehow and the invalid code is displayed next to the results. Additionally, if you look at the bottom of the summary of "wordform - instances" one of the Wordforms listed is "gen_27" (there are many others not shown but they are all similar "gen_11", "gen_18", etc.).

Tim
Site Admin
Posts: 1460
Joined: Sun Dec 07, 2008 1:14 pm

Re: Search results problem

Post by Tim »

This would best be done with a regular expression search.

Select Regular Expression and enter this,
\bg\w+

(The \b means a word boundary; the \w+ gets the rest of the characters.
Tim Morton
Developer, Bible Analyzer

But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)

wmcdannell
Posts: 13
Joined: Thu Oct 12, 2023 5:13 pm

Re: Search results problem

Post by wmcdannell »

Thank you! The results are formatted as expected using a regex.

Post Reply