I’m going through the regex modules and they aren’t sinking in as easily as JavaScript for me and I think I just spotted why. There’s not a uniform way that regex methods are applied.
For .test() it’s regex.test(string). For .match() it’s string.match(regex). Is there a reason for this? I find this incredibly confusing and this seems to make internalizing regex harder than what I think it needs to be because there’s no consistency I can count on.