chiark
/
gitweb
/
~bjharris
/
bedstead.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84b8a0a
)
import the "re" module in the editor
author
Ben Harris
<bjh21@bjh21.me.uk>
Wed, 14 Sep 2022 08:21:12 +0000
(09:21 +0100)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Wed, 14 Sep 2022 08:21:12 +0000
(09:21 +0100)
Without it, pasting doesn't actually work.
editor.py
patch
|
blob
|
history
diff --git
a/editor.py
b/editor.py
index aae99ea85d591af4fb493a01ba6ae82b1a52f449..0d07ec679faf46b378d0bddaa2d2aee7858a58ec 100644
(file)
--- a/
editor.py
+++ b/
editor.py
@@
-2,6
+2,7
@@
from __future__ import division, print_function, unicode_literals
+import re
import sys
import string