equal
deleted
inserted
replaced
6 /mixed; boundary="===+[0-9]+==" -> /mixed; boundary="===*== (glob)" |
6 /mixed; boundary="===+[0-9]+==" -> /mixed; boundary="===*== (glob)" |
7 --===+[0-9]+=+--$ -> --===*=-- (glob) |
7 --===+[0-9]+=+--$ -> --===*=-- (glob) |
8 --===+[0-9]+=+$ -> --===*= (glob) |
8 --===+[0-9]+=+$ -> --===*= (glob) |
9 |
9 |
10 $ cat > prune-blank-after-boundary.py <<EOF |
10 $ cat > prune-blank-after-boundary.py <<EOF |
11 > from __future__ import absolute_import, print_function |
|
12 > import sys |
11 > import sys |
13 > skipblank = False |
12 > skipblank = False |
14 > trim = lambda x: x.strip(' \r\n') |
13 > trim = lambda x: x.strip(' \r\n') |
15 > for l in sys.stdin: |
14 > for l in sys.stdin: |
16 > if trim(l).endswith('=--') or trim(l).endswith('=='): |
15 > if trim(l).endswith('=--') or trim(l).endswith('=='): |