jinzo avatar

[Task-Response] Utopian-io - @utopian-bot a JavaScript mentions handler

jinzo

Published: 24 May 2018 › Updated: 24 May 2018[Task-Response] Utopian-io - @utopian-bot  a JavaScript mentions handler

[Task-Response] Utopian-io - @utopian-bot a JavaScript mentions handler

Repository

https://github.com/utopian-io/v2.api.utopian.io

GitHub Gist

https://gist.github.com/jinzocode/8794ed52050a8a030a3b933d67a8f1e9

Utopian-Task

https://steemit.com/utopian-io/@utopian.tasks/js-developers-and-regex-experts-wanted-javascript-coding-task

About Task

Solving request made by utopian.tasks@utopian.tasks for a JavaScript script to handle response to user input for mentions

Create a GitHub gist with a Javascript script that can perform the following:
Receive text as input
Parse the text and compare it with a set of regular expressions
Return a different object or an error result based on the scenarios

New Features

  • Beneficiaries handler
  • Regular expression while handling every input
  • Possible scenarios as examples.
  • Check unique usernames
  • Usernames validator

Error handling

  • More than 8 usernames input
  • More than 100% weight
  • Usernames duplicates
  • Using exact format as mentioned in utopian-task request
  • Mixed weight handling
  • Some parts are missing
  • Unrelated text is contained

GitHub Account

https://github.com/jinzocode

Revisions

https://gist.github.com/jinzocode/6618dbb56f3ee74fd19517d6a8cc0ef0/revisions

Leave [Task-Response] Utopian-io - @utopian-bot a JavaScript mentions handler to:

Written by

Read more #utopian-io posts


Best Posts From jinzo

We have not curated any of jinzo's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From jinzo