Skip to main content
Added a JSFiddle because the charecters keep getting messed up. I'm not signed in because I forgot my password :p
Source Link

JavaScript ES6, 326

s=>eval(`/${s}(\\d+)/.exec(btoa\`QÞ฻ïA×PµØÝx;^×Ó^ÛCZÛs Û%Û´¢ÛÃ÷Õ-ö
]ù¾4+BksSçP«çc'ç^ç ¨çÓbçЮëgëïAïp,ïïÐkóB«ó[ó«óÆ<õýÔÖýÜÊ=é7=ñµÓTa×MÏw]:
tð'u×b'×^R]}I½vÙ7µÛÂ5ÛµÞ×}B³]÷­w춵ßÐׯ^55Ýxàùµã¦×»^vÝyí6õçÐò×­Ç£^¹½zí9µëÖ׽˻^ùý{ñ6µóUµó^×γ_t"½}Øûu÷.×ÞÇm5N]´àööÓ°bÛOO£m=ݵÑöÛakÛmÑkmºÍ¶í8vßcÚÛ}TÛ
§mû>í¸à ¶ãp¦ÛÁn;    ý¹ÔK6çafÛ\`)`)[1]

JSFiddle, the special charecters keep having issues

I hate to use an object and then search through it but I'll try to golf this more when I get access to a computer. Updated

Template Strings are the same length as regular strings so it doesn't matter. .exec actually stores the capture groups starting in [1] which adds another unavoidable 3 bytes, JavaScript's RegEx also doesn't support lookbehind but that wouldn't matter because that would be longer

I'm using atob which is used to convert from Base64 but if you use it the other way, you can chop off about a hundred bytes

JavaScript ES6, 326

s=>eval(`/${s}(\\d+)/.exec(btoa\`QÞ฻ïA×PµØÝx;^×Ó^ÛCZÛs Û%Û´¢ÛÃ÷Õ-ö
]ù¾4+BksSçP«çc'ç^ç ¨çÓbçЮëgëïAïp,ïïÐkóB«ó[ó«óÆ<õýÔÖýÜÊ=é7=ñµÓTa×MÏw]:
tð'u×b'×^R]}I½vÙ7µÛÂ5ÛµÞ×}B³]÷­w춵ßÐׯ^55Ýxàùµã¦×»^vÝyí6õçÐò×­Ç£^¹½zí9µëÖ׽˻^ùý{ñ6µóUµó^×γ_t"½}Øûu÷.×ÞÇm5N]´àööÓ°bÛOO£m=ݵÑöÛakÛmÑkmºÍ¶í8vßcÚÛ}TÛ
§mû>í¸à ¶ãp¦ÛÁn;    ý¹ÔK6çafÛ\`)`)[1]

I hate to use an object and then search through it but I'll try to golf this more when I get access to a computer. Updated

Template Strings are the same length as regular strings so it doesn't matter. .exec actually stores the capture groups starting in [1] which adds another unavoidable 3 bytes, JavaScript's RegEx also doesn't support lookbehind but that wouldn't matter because that would be longer

I'm using atob which is used to convert from Base64 but if you use it the other way, you can chop off about a hundred bytes

JavaScript ES6, 326

s=>eval(`/${s}(\\d+)/.exec(btoa\`QÞ฻ïA×PµØÝx;^×Ó^ÛCZÛs Û%Û´¢ÛÃ÷Õ-ö
]ù¾4+BksSçP«çc'ç^ç ¨çÓbçЮëgëïAïp,ïïÐkóB«ó[ó«óÆ<õýÔÖýÜÊ=é7=ñµÓTa×MÏw]:
tð'u×b'×^R]}I½vÙ7µÛÂ5ÛµÞ×}B³]÷­w춵ßÐׯ^55Ýxàùµã¦×»^vÝyí6õçÐò×­Ç£^¹½zí9µëÖ׽˻^ùý{ñ6µóUµó^×γ_t"½}Øûu÷.×ÞÇm5N]´àööÓ°bÛOO£m=ݵÑöÛakÛmÑkmºÍ¶í8vßcÚÛ}TÛ
§mû>í¸à ¶ãp¦ÛÁn;    ý¹ÔK6çafÛ\`)`)[1]

JSFiddle, the special charecters keep having issues

I hate to use an object and then search through it but I'll try to golf this more when I get access to a computer. Updated

Template Strings are the same length as regular strings so it doesn't matter. .exec actually stores the capture groups starting in [1] which adds another unavoidable 3 bytes, JavaScript's RegEx also doesn't support lookbehind but that wouldn't matter because that would be longer

I'm using atob which is used to convert from Base64 but if you use it the other way, you can chop off about a hundred bytes

fixed encoding
Source Link
Downgoat
  • 29.1k
  • 6
  • 84
  • 155

JavaScript ES6, 327326

s=>eval(`/${s}(\\d+)/.exec(btoa\`QÞ฻ïA×PµØÝx;^×Ó^ÛCZÛs Û%Û´¢ÛÃ÷Õ-ö
]ù¾4+BksSçP«çc'ç^ç ¨çÓbçЮëgëïAïp,ïïÐkóB«ó[ó«óÆ<õýÔÖýÜÊ=é7=ñµÓTa×MÏw]:
tð'u×b'×^R]}I½vÙ7µÛÂ5ÛµÞ×}B³]÷­w춵ßÐׯ^55Ýxàùµã¦×»^vÝyí6õçÐò×­Ç£^¹½zí9µëÖ׽˻^ùý{ñ6µóUµó^×γ_t"½}Øûu÷.×ÞÇm5N]´àööÓ°bÛOO£m=ݵÑöÛakÛmÑkmºÍ¶í8vßcÚÛ}TÛ
§mû>í¸à ¶ãp¦ÛÁn;    ý¹ÔK6çafÛ]\`ý¹ÔK6çafÛ\`)`)[1]

I hate to use an object and then search through it but I'll try to golf this more when I get access to a computer. Updated

Template Strings are the same length as regular strings so it doesn't matter. .exec actually stores the capture groups starting in [1] which adds another unavoidable 3 bytes, JavaScript's RegEx also doesn't support lookbehind but that wouldn't matter because that would be longer

I'm using atob which is used to convert from Base64 but if you use it the other way, you can chop off about a hundred bytes

JavaScript ES6, 327

s=>eval(`/${s}(\\d+)/.exec(btoa\`QÞ฻ïA×PµØÝx;^×Ó^ÛCZÛs Û%Û´¢ÛÃ÷Õ-ö
]ù¾4+BksSçP«çc'ç^ç ¨çÓbçЮëgëïAïp,ïïÐkóB«ó[ó«óÆ<õýÔÖýÜÊ=é7=ñµÓTa×MÏw]:
tð'u×b'×^R]}I½vÙ7µÛÂ5ÛµÞ×}B³]÷­w춵ßÐׯ^55Ýxàùµã¦×»^vÝyí6õçÐò×­Ç£^¹½zí9µëÖ׽˻^ùý{ñ6µóUµó^×γ_t"½}Øûu÷.×ÞÇm5N]´àööÓ°bÛOO£m=ݵÑöÛakÛmÑkmºÍ¶í8vßcÚÛ}TÛ
§mû>í¸à ¶ãp¦ÛÁn;    ý¹ÔK6çafÛ]\`)`)[1]

I hate to use an object and then search through it but I'll try to golf this more when I get access to a computer. Updated

Template Strings are the same length as regular strings so it doesn't matter. .exec actually stores the capture groups starting in [1] which adds another unavoidable 3 bytes, JavaScript's RegEx also doesn't support lookbehind but that wouldn't matter because that would be longer

I'm using atob which is used to convert from Base64 but if you use it the other way, you can chop off about a hundred bytes

JavaScript ES6, 326

s=>eval(`/${s}(\\d+)/.exec(btoa\`QÞ฻ïA×PµØÝx;^×Ó^ÛCZÛs Û%Û´¢ÛÃ÷Õ-ö
]ù¾4+BksSçP«çc'ç^ç ¨çÓbçЮëgëïAïp,ïïÐkóB«ó[ó«óÆ<õýÔÖýÜÊ=é7=ñµÓTa×MÏw]:
tð'u×b'×^R]}I½vÙ7µÛÂ5ÛµÞ×}B³]÷­w춵ßÐׯ^55Ýxàùµã¦×»^vÝyí6õçÐò×­Ç£^¹½zí9µëÖ׽˻^ùý{ñ6µóUµó^×γ_t"½}Øûu÷.×ÞÇm5N]´àööÓ°bÛOO£m=ݵÑöÛakÛmÑkmºÍ¶í8vßcÚÛ}TÛ
§mû>í¸à ¶ãp¦ÛÁn;    ý¹ÔK6çafÛ\`)`)[1]

I hate to use an object and then search through it but I'll try to golf this more when I get access to a computer. Updated

Template Strings are the same length as regular strings so it doesn't matter. .exec actually stores the capture groups starting in [1] which adds another unavoidable 3 bytes, JavaScript's RegEx also doesn't support lookbehind but that wouldn't matter because that would be longer

I'm using atob which is used to convert from Base64 but if you use it the other way, you can chop off about a hundred bytes

deleted 33 characters in body
Source Link
Downgoat
  • 29.1k
  • 6
  • 84
  • 155

JavaScript (ES2015)ES6, 649 467 368 327

s=>eval(`/${s}(\\d+)/.exec(btoa\`QÞ฻ïA×PµØÝx;^×Ó^ÛCZÛs Û%Û´¢ÛÃ÷Õ-ö
]ù¾4+BksSçP«çc'ç^ç ¨çÓbçЮëgëïAïp,ïïÐkóB«ó[ó«óÆ<õýÔÖýÜÊ=é7=ñµÓTa×MÏw]:
tð'u×b'×^R]}I½vÙ7µÛÂ5ÛµÞ×}B³]÷­w춵ßÐׯ^55Ýxàùµã¦×»^vÝyí6õçÐò×­Ç£^¹½zí9µëÖ׽˻^ùý{ñ6µóUµó^×γ_t"½}Øûu÷.×ÞÇm5N]´àööÓ°bÛOO£m=ݵÑöÛakÛmÑkmºÍ¶í8vßcÚÛ}TÛ
§mû>í¸à ¶ãp¦ÛÁn;    ý¹ÔK6çafÛ]\`)`)[1]

I hate to use an object and then search through it but I'll try to golf this more when I get access to a computer. Updated

Template Strings are the same length as regular strings so it doesn't matter. .exec actually stores the capture groups starting in [1] which adds another unavoidable 3 bytes, JavaScript's RegEx also doesn't support lookbehind but that wouldn't matter because that would be longer

I'm using atob which is used to convert from Base64 but if you use it the other way, you can chop off about a hundred bytes

JavaScript (ES2015), 649 467 368 327

s=>eval(`/${s}(\\d+)/.exec(btoa\`QÞ฻ïA×PµØÝx;^×Ó^ÛCZÛs Û%Û´¢ÛÃ÷Õ-ö
]ù¾4+BksSçP«çc'ç^ç ¨çÓbçЮëgëïAïp,ïïÐkóB«ó[ó«óÆ<õýÔÖýÜÊ=é7=ñµÓTa×MÏw]:
tð'u×b'×^R]}I½vÙ7µÛÂ5ÛµÞ×}B³]÷­w춵ßÐׯ^55Ýxàùµã¦×»^vÝyí6õçÐò×­Ç£^¹½zí9µëÖ׽˻^ùý{ñ6µóUµó^×γ_t"½}Øûu÷.×ÞÇm5N]´àööÓ°bÛOO£m=ݵÑöÛakÛmÑkmºÍ¶í8vßcÚÛ}TÛ
§mû>í¸à ¶ãp¦ÛÁn;    ý¹ÔK6çafÛ]\`)`)[1]

I hate to use an object and then search through it but I'll try to golf this more when I get access to a computer. Updated

Template Strings are the same length as regular strings so it doesn't matter. .exec actually stores the capture groups starting in [1] which adds another unavoidable 3 bytes, JavaScript's RegEx also doesn't support lookbehind but that wouldn't matter because that would be longer

I'm using atob which is used to convert from Base64 but if you use it the other way, you can chop off about a hundred bytes

JavaScript ES6, 327

s=>eval(`/${s}(\\d+)/.exec(btoa\`QÞ฻ïA×PµØÝx;^×Ó^ÛCZÛs Û%Û´¢ÛÃ÷Õ-ö
]ù¾4+BksSçP«çc'ç^ç ¨çÓbçЮëgëïAïp,ïïÐkóB«ó[ó«óÆ<õýÔÖýÜÊ=é7=ñµÓTa×MÏw]:
tð'u×b'×^R]}I½vÙ7µÛÂ5ÛµÞ×}B³]÷­w춵ßÐׯ^55Ýxàùµã¦×»^vÝyí6õçÐò×­Ç£^¹½zí9µëÖ׽˻^ùý{ñ6µóUµó^×γ_t"½}Øûu÷.×ÞÇm5N]´àööÓ°bÛOO£m=ݵÑöÛakÛmÑkmºÍ¶í8vßcÚÛ}TÛ
§mû>í¸à ¶ãp¦ÛÁn;    ý¹ÔK6çafÛ]\`)`)[1]

I hate to use an object and then search through it but I'll try to golf this more when I get access to a computer. Updated

Template Strings are the same length as regular strings so it doesn't matter. .exec actually stores the capture groups starting in [1] which adds another unavoidable 3 bytes, JavaScript's RegEx also doesn't support lookbehind but that wouldn't matter because that would be longer

I'm using atob which is used to convert from Base64 but if you use it the other way, you can chop off about a hundred bytes

edited body
Source Link
Downgoat
  • 29.1k
  • 6
  • 84
  • 155
Loading
added 15 characters in body
Source Link
Downgoat
  • 29.1k
  • 6
  • 84
  • 155
Loading
edited body
Source Link
Downgoat
  • 29.1k
  • 6
  • 84
  • 155
Loading
added 1 character in body; deleted 1 character in body; added 2 characters in body
Source Link
Downgoat
  • 29.1k
  • 6
  • 84
  • 155
Loading
fixed byte count; added 54 characters in body
Source Link
Downgoat
  • 29.1k
  • 6
  • 84
  • 155
Loading
deleted 171 characters in body; added 65 characters in body
Source Link
Downgoat
  • 29.1k
  • 6
  • 84
  • 155
Loading
Fixed the answer since my question had a mistake
Source Link
Loading
deleted 30 characters in body; added 115 characters in body
Source Link
Downgoat
  • 29.1k
  • 6
  • 84
  • 155
Loading
Source Link
Downgoat
  • 29.1k
  • 6
  • 84
  • 155
Loading