diff options
| author | Makarius Wenzel | 2000-06-05 20:44:08 +0000 |
|---|---|---|
| committer | Makarius Wenzel | 2000-06-05 20:44:08 +0000 |
| commit | fb0d8e52aec9e1d81852a148f5f5f80725353167 (patch) | |
| tree | af25fd0cf6427e69b28cbe61b143f572ca1afd25 | |
| parent | 9a1cbe18e45a3ff399db385622612d8754abd3d1 (diff) | |
improved isabelle-verbatim-regexp: use \` \' instead of ^ $;
| -rw-r--r-- | isa/isabelle-system.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isa/isabelle-system.el b/isa/isabelle-system.el index fffdb3a2..b964c786 100644 --- a/isa/isabelle-system.el +++ b/isa/isabelle-system.el @@ -182,7 +182,7 @@ Called with one argument: t to save database, nil otherwise." (isa-insert-ret "quit();")) (comint-send-eof)) -(defconst isabelle-verbatim-regexp "^\^VERBATIM: \\(\\(.\\|\n\\)*\\)$" +(defconst isabelle-verbatim-regexp "\\`\^VERBATIM: \\(\\(.\\|\n\\)*\\)\\'" "Regexp matching internal marker for verbatim command output") (defun isabelle-verbatim (str) @@ -192,7 +192,7 @@ Called with one argument: t to save database, nil otherwise." ;;; Set proof-shell-pre-interrupt-hook for PolyML. (if (and (not proof-shell-pre-interrupt-hook) - (string-match "^polyml" (isa-getenv "ML_SYSTEM"))) + (string-match "\\'polyml" (isa-getenv "ML_SYSTEM"))) (add-hook 'proof-shell-pre-interrupt-hook (lambda () (proof-shell-insert (isabelle-verbatim "f") nil)))) |
