Make 'line_comment' more explicit about newlines

Because of the way regular expressions work, they were already bounded
at newlines here, but explicit is better than implicit :-).
This commit is contained in:
Bruno BELANYI 2024-04-08 09:49:16 +00:00
parent 73b0797891
commit be1e3f07d3
3 changed files with 19 additions and 2 deletions

View file

@ -85,6 +85,23 @@ Block comment with asterisks
--------------------------------------------------------------------------------
(source_file
(block_comment))
================================================================================
Block comment (multiline)
================================================================================
/*
This
is
a
long
comment
*/
--------------------------------------------------------------------------------
(source_file
(block_comment))