signum-network / SIPs

Signum Improvement Proposals
The Unlicense
14 stars 10 forks source link

SRC44 - Update the `rule` column displayed in the `alias/al` field #89

Closed ipr0310 closed 1 year ago

ipr0310 commented 1 year ago

As the modernization of the alias framework will allow STLDs, is necessary to make update on the specifications table: https://github.com/signum-network/SIPs/blob/master/SIP/sip-44.md#specification

As we can appreciate in the alias field, the rule column shows an outdated one, it should be a regex expression that support STLDs image

Testing the expression image

Solution The regex expression can be updated to the following:

^(\w+)(?:\.(\w+))?$

Testing the expression image

Additional context According to devina.io redos-checker It states that the statement is safe image

ohager commented 1 year ago

closing.... there was a pending PR that was not merge