1 # test `fast' substitutions 2 3 h 4 s/a// 5 p 6 g 7 s/a//g 8 p 9 g 10 s/^a//p 11 g 12 s/^a//g 13 p 14 g 15 s/not present//g 16 p 17 g 18 s/^[a-z]//g 19 p 20 g 21 s/a$// 22 p 23 g 24 25 y/a/b/ 26 h 27 s/b// 28 p 29 g 30 s/b//g 31 p 32 g 33 s/^b//p 34 g 35 s/^b//g 36 p 37 g 38 s/^[a-z]//g 39 p 40 g 41 s/b$// 42 p 43 g 44 45 46 47