On 01/07/20 11:52, Thomas Huth wrote: >> +function find_word() >> +{ >> + grep -q " $1 " <<< " $2 " >> +} > > Ah, clever idea with the surrounding spaces here! That's what you gain from learning to program in GW-BASIC, who wants regular expression when you have INSTR. But seriously: what do you think about adding "-F"? The use of regex in only_tests/only_group is not documented and might have surprising effects. If we want to keep it, we could replace spaces with newlines and use ^$ in the regex. Paolo > Works great for me, so: > Tested-by: Thomas Huth <thuth@xxxxxxxxxx> > Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx> >