bramstein/funcy

Undefined when RegExp

magbicaleman opened this issue · 2 comments

// matches /ok$/ regular expression
[/ok$/,function(){}]

Is this suppose to pass into the function? I'm getting an undefined when

[/ok$/, (v) => console.log(v)]

I've encountered the same issue. I've created a PR #8 to resolve this issue.

This is fixed now, thanks to @alexghenderson.