K 10
svn:author
V 3
nik
K 8
svn:date
V 27
1998-10-26T23:51:34.000000Z
K 7
svn:log
V 1797
Step 1. Find ... and change the
to .
Can't do this globally. Some of the links are odd (i.e,. the link
is not their e-mail address but is their name, eg
Nik Clayton
which would turn to
Nik Clayton
which isn't very useful. Ignore these ones, and do the others.
(i.e., the ones that look like
nik@freebsd.org
)
This Emacs regexp does the job.
Search for: ]+>\([^<]+\)
Replace with: \1
Step 2. A lot of the ... sets will have '<' and '>' embedded
in them (as entities). These can be removed, since the stylesheet
will add them;
Search for: <\([^&]+\)>
Replace with: \1
Step 3. The trick now is to turn
Nik Clayton
into
Nik Clayton nik@freebsd.org
This step could (possibly) have been done first, and then steps
1 and 2 could be done globally. I haven't done this because of
concerns about the ordering of names within languages. This
transformation is fairly simple in English, I've no idea what
it's like in Japanese.
Search for: \([^<]+\)
Replace with: \2 \1
Step 4. Remove leading and trailing spaces that may have slipped in
Search for: \s-+
Replace with:
Search for: \s-+
Replace with:
END