import melody from "melody";
const batmanRegex = melody`
16 of "na";
2 of match {
<space>;
"batman";
}
`;
That would transpile to: const batmanRegex = /(?:na){16}(?:\sbatman){2}/;
Backticks would need escaping but otherwise it'd be normal Melody syntax
Kidding of course, looks really cool!