diff --git a/src/util.js b/src/util.js index 60677ac..a6d2a20 100644 --- a/src/util.js +++ b/src/util.js @@ -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) {