Mention Extractor
Extract all mention tokens without the @ symbol, in order of appearance.
Description
Extract ASCII @mention tokens in source order without the @ prefix.
The mention extractor provides predictable account-like token parsing for messages, fixtures, and occurrence analysis without claiming platform-specific validation.
When to use Mention Extractor
- Collect mentioned usernames
- Preserve duplicates for frequency analysis
- Test mention parsing around punctuation
How the calculation works
Each @ followed by ASCII letters, digits, or underscores creates a match. The prefix is removed, punctuation ends the token, and case and order remain unchanged.
Interpreting the result
An empty result means no token matched this grammar. It does not mean that no service-specific or internationalized mention syntax was present.
Important limitations
- Email addresses can contain matching @ sequences.
- Username rules and Unicode support vary by platform and are not implemented.