diff options
| author | Clément Pit-Claudel | 2020-06-07 12:14:15 -0400 |
|---|---|---|
| committer | Clément Pit-Claudel | 2020-06-07 12:14:15 -0400 |
| commit | aad87d7e7d7b68b13e33f58b8d5b5a6f824d3f38 (patch) | |
| tree | ef5a10d5dbc9d450f2ad5a412dc956060adfd8ea /doc | |
| parent | d0e4e7e106b7b27340f37c62d4da99ea2cc8e95f (diff) | |
| parent | c964091f01af77bb9aff14cb25bc4d8466c5239d (diff) | |
Merge PR #12473: Match only a single line as the coqtop prompt in coqtop:: directive
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/tools/coqrst/repl/coqtop.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tools/coqrst/repl/coqtop.py b/doc/tools/coqrst/repl/coqtop.py index c306961550..3021594183 100644 --- a/doc/tools/coqrst/repl/coqtop.py +++ b/doc/tools/coqrst/repl/coqtop.py @@ -39,7 +39,7 @@ class CoqTop: confuse it). """ - COQTOP_PROMPT = re.compile("\r\n[^< ]+ < ") + COQTOP_PROMPT = re.compile("\r\n[^< \r\n]+ < ") def __init__(self, coqtop_bin=None, color=False, args=None) -> str: """Configure a coqtop instance (but don't start it yet). |
