Page 1 of 1

Search results problem

Posted: Fri Oct 20, 2023 11:50 am
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.).

Re: Search results problem

Posted: Fri Oct 20, 2023 5:51 pm
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.

Re: Search results problem

Posted: Sun Oct 22, 2023 6:44 am
by wmcdannell
Thank you! The results are formatted as expected using a regex.