Yngvarr

Generation

generate functionFri, 14 Apr 2023

pregmatch

function pregmatch(pattern, str) { return str.match(pattern); } pregmatch("foo", "foo bar baz")

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant