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
Does this scan all the way to the end of the input string, looking for a match, even though it already knows it failed when it doesn't find a match at index 0? If that's what it's doing, that would be very inefficient.