[E-trademarks] Regex search

Neil R. Ormos ormos-lists at ormos.org
Fri Mar 15 19:19:09 EDT 2024


Pamela Chestek via E-trademarks wrote:

> Can anyone explain to me why the first two
> search queries didn't give me the same results
> as the third query? I was in expert mode.
 
> GS:/t\-shirt/    0
> GS:/t[-]shirt/    0
> GS:t-shirt    511200

When the GS index is used with a regular expression search, the index appears to contain each of the words of the goods and services field in isolation.  Spaces and hyphens separate words, but some other punctuation does not.  Your regexps do not match because t-shirt does not appear as a single word in the index. 

The GS index behaves differently when used with other types of search.

  <https://oppedahl-lists.com/pipermail/e-trademarks_oppedahl-lists.com/2024-January/000554.html>

And the GS2 index also behaves differently.  

GS2:/t[-]shirt/

returns 61,341 records.

I know GS2 does some sort of stemming, but I haven't been able to synthesize a complete explanation.  If someone has GS2 figured it out, or knows of a document that describes its behavior, I hope they will explain.





More information about the E-trademarks mailing list