summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/files/L8.2c
blob: 9a8764632a8cf1058024a8662119c9f80705540f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#print
As an example more complicated than you will
probably ever need, consider
  ?[a-c]*
which matches what?  Well the first character
can be anything; the second must be a, b, or c; and
nothing matters thereafter.    So it matches
 aaa
 abc
 xa
 3c25
but not
 a
 ghi
and so forth.
Will it match
 %a25
Try some experiments, then type yes or no.
#create %a25
#copyin
#user
#uncopyin
#match yes
#log
#next
9.1a 10
9.2a 4