Samir Shuman @devmansam.net · Dec 17

found an error in fCC legacy JavaScript DSA 07 Regex module concerning string.match() method called w/out -g flag: match() returns an array: [0]=match, [1+]=capture groups, plus index and input properties (or null if no match), not simply an array containing a string of the matched value.

2 likes 0 replies

?