Regex match should give NonEmptyArray
vinothkr opened this issue · 1 comments
vinothkr commented
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/match
States that if there is a match, the first element of the array is the entire match. In which case there is atleast 1 element. Should we make this return Maybe NonEmptyArray (Maybe String)?
garyb commented
👍
Resolved in the 0.12 branch.