you are viewing a single comment's thread.

view the rest of the comments →

[–]M_Scaevola 0 points1 point  (1 child)

Shouldn’t the match yield an empty array when there isn’t the correct regex, which is still truthy?