blob: 6b9a32aa77be119b37faa2e37e4e126fbb0fc08d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#print
When you want to match one of a few specific characters, and not
just any character, the pattern is similar to the pattern used
in filenames. The patterns used with the editor, by
the way, are called "regular expressions". The string
[abc]
matches 'a', 'b' or 'c'. So if the current line
is
now is the time for all good men
and the command is
s/t[ijk]/xx/
what word is changed? Type "answer WORD" where WORD is the
word changed by that command.
#copyin
#user
#uncopyin
#match time
#log
#next
33.1b 10
|