mirror of
https://gitverse.ru/kpa39l/telepost.git
synced 2026-09-29 09:55:09 +00:00
4 lines
204 B
JavaScript
4 lines
204 B
JavaScript
// generate an ID that is, to all intents and purposes, unique
|
|
export const id = Math.round(Math.random() * 1e20).toString(36);
|
|
export const re = new RegExp(`_${id}_(?:(\\d+)|(AT)|(HASH))_(\\w+)?`, 'g');
|