Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: cb93594abb
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (14 sloc) 0.503 kB

Matching Records in a Map Phase with a Regex

Contributed By: Joe …

[[Source File on GitHub|]]

As you can see, this is a simple function written in JavaScript. Its original use was to return keys that match a given regex.

This is the entirety of the function:

function keyMatch(value, arg){
if ({
return [value.key]
return []

Jump to Line
Something went wrong with that request. Please try again.