gbdev / gbdev/snippet-bot

Directly return matched content instead of explicitely chopping off backticks

Open
#2 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

https://github.com/dmg01/snippet-bot/blob/7857918d8e390ca9a06294e5dd566626f3037161/bot.js#L112-L119

I think what you need on line 118 is something like
```
var matches = regex.exec(string)
return (matches[1] || [])
```

I'm not sure, it's a bit late here, maybe I'll test this tomorrow after some sleep :P

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.