Skip to content

Instantly share code, notes, and snippets.

@jezinka

jezinka/main.js Secret

Created June 16, 2017 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jezinka/ef30caaf0ad7e10a7d8be5332c388282 to your computer and use it in GitHub Desktop.
Save jezinka/ef30caaf0ad7e10a7d8be5332c388282 to your computer and use it in GitHub Desktop.
var grouped_instruction = instructions[i].match(/([a-z]+)(\d+)\[([a-z]{5})\]/);
var encrypted = grouped_instruction[1];
var id = parseInt(grouped_instruction[2]);
var checksum = grouped_instruction[3];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment