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
Trying to do a wildcard match against content that contains asterisks leads to a false match. For example:
"Here is some body with asterisks ***"
with a wildcard match like "Here is {{*}} with asterisks ***"
will fail.
Adding the following test to stringSimilarity.test.js will expose the issue:
it('should match a target with an asterisks against a wildcarded source',()=>{expect(stringSimilarity(`before${WILDCARD}after*`,'beforeabceafter*')).toBe(true);});
The text was updated successfully, but these errors were encountered:
Trying to do a wildcard match against content that contains asterisks leads to a false match. For example:
"Here is some body with asterisks ***"
with a wildcard match like
"Here is {{*}} with asterisks ***"
will fail.
Adding the following test to
stringSimilarity.test.js
will expose the issue:The text was updated successfully, but these errors were encountered: