blob: 380c00871b1a16974b892153d3ff1a2a527eb11d [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001NAME
2 ed3
3
4DESCRIPTION
5 Searching is done with:
6 /hello/
7 Find first line in of after current line.
8 Just // will repeat the search.
9
10 The patterns are regular expressions, where some characters
11 have a special meaning:
12 . Match any character.
13 x* Match any numbers of x (0 or more).
14 [abc] Match 'a', 'b' or 'c'.
15 [0-9] Match any digit 0 - 9.
16 [a-z] Match any lowercase letter.
17 \x Match 'x' where 'x' can be any character except '('
18 and ')'.
19
20EXAMPLE
21 s/ab.d/ABCD/
22 Substitute any string 'abXd' against 'ABCD' where X can be any
23 character.
24
25NOTE
26 This only half the truth, there is lots more magic in the
27 regexps.
28
29SEE ALSO
30 regexp(E), ed4(LPC)