lukefx / hubot-telegram

Hubot adapter for Telegram
MIT License
160 stars 42 forks source link

avoid to remove first character from text #53

Closed slackerzz closed 5 years ago

slackerzz commented 8 years ago

if robot.alias value is . the regexp will match the first character of text and it will be replaced https://regex101.com/r/eM9lZ5/2