You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When searching for regex in annotations, it is assumed the user means an initially and finally anchored string, i.e. the query
tok=/[Uu]nd/
is actually looking for the expression /^[Uu]nd$/. As a consequence, this query does not find "Hund". This is correct.
In metadata, this does not happen correctly. Looking in FalkoEssaysL2, this query:
tok & meta::l1_1=/[^e].+/
finds texts with l1_1="eng", because "eng" contains [^e].+ as a substring: the "ng" part. This query should also be treated as looking for l1_1=/^[^e].+$/, so that metadata and annotations behave in the same way.
When searching for regex in annotations, it is assumed the user means an initially and finally anchored string, i.e. the query
is actually looking for the expression /^[Uu]nd$/. As a consequence, this query does not find "Hund". This is correct.
In metadata, this does not happen correctly. Looking in FalkoEssaysL2, this query:
finds texts with l1_1="eng", because "eng" contains [^e].+ as a substring: the "ng" part. This query should also be treated as looking for l1_1=/^[^e].+$/, so that metadata and annotations behave in the same way.
Imported from Launchpad using lp2gh.
The text was updated successfully, but these errors were encountered: