Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 3f7ec48

Browse files
committed
modify regex
1 parent a444e3b commit 3f7ec48

File tree

1 file changed

+1
-1
lines changed
  • docs/Protocol Specifications

1 file changed

+1
-1
lines changed

docs/Protocol Specifications/core.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ FIDs consist of the following parts:
846846
| `@` | <a name="def-separator" id="separator"></a>"Separator" | Separates local name from domain name |
847847
| `optionalsubdomain.domain.tld` | <a name="def-domain-name" id="def-domain-name"></a>"Domain Name" | Includes top-level domain, second-level domain and other subdomains. Address which the actors' home server can be reached at. |
848848

849-
The following regular expression can be used to validate actor IDs: `\b([a-z0-9._%+-]+)@([a-z0-9-]+(\.[a-z0-9-]+)*)`.
849+
The following regular expression can be used to validate actor IDs: `\b([a-z0-9._%+-]+)@([a-z0-9-]+(\.[a-z0-9-]+)*)$`.
850850

851851
!!! info
852852

0 commit comments

Comments
 (0)