Skip to content

Commit 17e54c4

Browse files
committed
Added a letter.
1 parent 1314c7b commit 17e54c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

communication.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var app = require('express'); // Move this if necessary.
66
app.POST('/receive',function() {});
77

88
client.messages(message.sid).get(function(err, message) {
9-
var number_regex = /\d{1,50}/; // Change the number depending on the math constraints.
9+
var number_regex = /\d{1,50}/g; // Change the number depending on the math constraints.
1010
var numbers = message.body.match(number_regex); // match should return an array with the matches in them, if any.
1111
if (numbers.length < 2) {
1212
client.messages.create({

0 commit comments

Comments
 (0)