mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
docs/sphinx/qmp_lexer: Generalize elision syntax
Accept "... lorem ipsum ..." in addition to "...". Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20250404121413.1743790-7-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
e27608d053
commit
bc361f2f9b
5 changed files with 8 additions and 6 deletions
|
@ -24,7 +24,7 @@ class QMPExampleMarkersLexer(RegexLexer):
|
|||
'root': [
|
||||
(r'-> ', token.Generic.Prompt),
|
||||
(r'<- ', token.Generic.Prompt),
|
||||
(r' ?\.{3} ?', token.Generic.Prompt),
|
||||
(r'\.{3}( .* \.{3})?', token.Generic.Prompt),
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue