fix: escape dot char in regex
This commit is contained in:
parent
5257967f88
commit
368f297c6b
@ -1,5 +1,5 @@
|
||||
// this regex extracts ussd reply options
|
||||
const regex = /\s(\d{1,2}).\s/g;
|
||||
const regex = /\s(\d{1,2})\.\s/g;
|
||||
|
||||
// TODO: converts the text to a telegram keyboard
|
||||
function createKeyboard(input) {
|
||||
|
Loading…
Reference in New Issue
Block a user