Closed bg1337 closed 3 years ago
Thats true, There is a fix for this but I had no time to make a pull request yet
Change this line:
const reProfileID = RegExp(String.raw
${reProfileBase}(?:id\/)?(\w{2,32}), 'i');
here
To this line:
const reProfileID = RegExp(String.raw
${reProfileBase}(?:id\/)?([a-zA-Z0-9_-]{2,32}), 'i');
didnt work
Works fine for me. Just use the pull request i created, or otherwise you need to wait for xDimGG to deliver a fix.
this what worked for me:
const reProfileID = RegExp(String.raw${reProfileBase}(?:id\/)?([a-zA-Z0-9_-]{2,32})
, 'i');
This is already fixed :+1:
Hi,
when trying to resolve any steam profile with a custom id contain (-), the function ignores the (-)
For Example: when resolving "https://steamcommunity.com/id/draft-" resulted ID64 is : "76561198156050531" which belongs to the below steam profile "https://steamcommunity.com/id/draft"