forked from unimatrix/web
Replace monthly community goals with JARVIS server projects, staff review, scoped funding and automatic closure
This commit is contained in:
parent
bf3ae53053
commit
3fab6cd650
1 changed files with 293 additions and 22 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// Shared syntax only: a readable edition is never proof of ownership or authority.
|
||||
const legacy=/^(PRG|NEWS|XPC|XPX|ECO-SNAP|STAFF-LINK|STAFF-COM|STAFF-POL|XFR|CLAN-SUB|COM-SUB|POL-CLAN|QST|QSM|CLAN|COM|POL)-([A-F0-9]{48})$/;
|
||||
const legacy=/^(PRJ|PRG|NEWS|XPC|XPX|ECO-SNAP|STAFF-LINK|STAFF-COM|STAFF-POL|XFR|CLAN-SUB|COM-SUB|POL-CLAN|QST|QSM|CLAN|COM|POL)-([A-F0-9]{48})$/;
|
||||
const versioned=/^(PRG|NEWS|XPC|XPX|ECO-SNAP|STAFF-LINK|STAFF-COM|STAFF-POL|XFR|CLAN-SUB|COM-SUB|POL-CLAN|QST|QSM|CLAN|COM|POL)-(ALPHA|BETA|LIVE)-((?:0|[1-9]\d{0,2})(?:\.(?:0|[1-9]\d{0,2})){3})-(S\d{2,4})-([A-F0-9]{8}(?:-[A-F0-9]{8}){5})$/;
|
||||
export function parseOrganisationCode(value){
|
||||
if(typeof value!=='string'||value.length>128)throw new TypeError('Invalid organisation code');
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff