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
I had built a regex from all the firstnames in wikidata and tested 130.000 – this is fine.
But if I would just need to know if the string exactly matches the wikidata name:
I think, therefore it is missing the ^ begin and the $ end tag.
Otherwise it is not very strict.
E.g. test for Sebastian :
Without /^...$/ it matches Se anything.
With /^...$/ it matches Sebastian.
The text was updated successfully, but these errors were encountered:
Hello,
I had built a regex from all the firstnames in wikidata and tested 130.000 – this is fine.
But if I would just need to know if the string exactly matches the wikidata name:
I think, therefore it is missing the
^
begin and the$
end tag.Otherwise it is not very strict.
E.g. test for
Sebastian
:Without
/^...$/
it matchesSe
anything.With
/^...$/
it matchesSebastian
.The text was updated successfully, but these errors were encountered: