Learn Before
Match each regular expression pattern in the Pygments Magma lexer to its designated comment or whitespace handling role.
0
1
Tags
Prep Sessions
Custom Pygments Lexer Engineering for Magma @ University of Michigan - Ann Arbor
Ch.1 Magma Lexer Fundamentals - Custom Pygments Lexer Engineering for Magma @ University of Michigan - Ann Arbor
Lexing Strings, Numbers, and Comments - Custom Pygments Lexer Engineering for Magma @ University of Michigan - Ann Arbor
Related
In the Pygments Magma lexer, comments and whitespace are parsed under the ___ state.
Order the lifecycle steps the Pygments Magma lexer follows when encountering and processing a block comment.
How does the 'comment-multiline' state distinguish between the decorative non-closing asterisks and the terminating delimiter asterisks?
Inside the 'comment-multiline' state, which regular expression pattern is used to match characters that continue the comment without encountering an asterisk?