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
As shown above, i found if topicFilter' length is longer than topicName's length and topicFilter contains "+" and "#", the result is always false, even if the topicFiler except for "#" match topicName.
The text was updated successfully, but these errors were encountered:
topicFilter = finance/stock/+/#
topicName = finance/stock/ibm
isMatched = false
2. In this case, isMatched' method is right.
topicFilter = finance/stock/+
topicName = finance/stock/ibm
isMatched = true
The text was updated successfully, but these errors were encountered: