|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: r
Length: 15192 (0x3b58)
Names: »regexp.3«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat3/regexp.3«
0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 ┆ u_ a_ l Library Funct┆
0x0040…0060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 67 65 78 70 28 33 29 0a 0a 0a 0a ┆ions regexp(3) ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆
0x0080…00a0 20 20 72 65 67 65 78 70 3a 20 20 63 6f 6d 70 69 6c 65 2c 20 73 74 65 70 2c 20 61 64 76 61 6e 63 ┆ regexp: compile, step, advanc┆
0x00a0…00c0 65 20 2d 20 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 20 63 6f 6d 70 69 6c 65 0a 20 ┆e - regular expression compile ┆
0x00c0…00e0 20 20 20 20 61 6e 64 20 6d 61 74 63 68 20 72 6f 75 74 69 6e 65 73 0a 0a 53 08 53 08 53 08 53 59 ┆ and match routines S S S SY┆
0x00e0…0100 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 50 08 50 08 50 08 50 53 08 53 08 53 ┆ Y Y YN N N NO O O OP P P PS S S┆
0x0100…0120 08 53 49 08 49 08 49 08 49 53 08 53 08 53 08 53 0a 20 20 20 20 20 23 08 23 08 23 08 23 64 08 64 ┆ SI I I IS S S S # # # #d d┆
0x0120…0140 08 64 08 64 65 08 65 08 65 08 65 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e ┆ d de e e ef f f fi i i in n n n┆
0x0140…0160 65 08 65 08 65 08 65 20 49 08 49 08 49 08 49 4e 08 4e 08 4e 08 4e 49 08 49 08 49 08 49 54 08 54 ┆e e e e I I I IN N N NI I I IT T┆
0x0160…0180 08 54 08 54 20 5f 08 64 5f 08 65 5f 08 63 5f 08 6c 5f 08 61 5f 08 72 5f 08 61 5f 08 74 5f 08 69 ┆ T T _ d_ e_ c_ l_ a_ r_ a_ t_ i┆
0x0180…01a0 5f 08 6f 5f 08 6e 5f 08 73 0a 20 20 20 20 20 23 08 23 08 23 08 23 64 08 64 08 64 08 64 65 08 65 ┆_ o_ n_ s # # # #d d d de e┆
0x01a0…01c0 08 65 08 65 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 ┆ e ef f f fi i i in n n ne e e e┆
0x01c0…01e0 20 47 08 47 08 47 08 47 45 08 45 08 45 08 45 54 08 54 08 54 08 54 43 08 43 08 43 08 43 28 08 28 ┆ G G G GE E E ET T T TC C C C( (┆
0x01e0…0200 08 28 08 28 29 08 29 08 29 08 29 20 5f 08 67 5f 08 65 5f 08 74 5f 08 63 20 5f 08 63 5f 08 6f 5f ┆ ( () ) ) ) _ g_ e_ t_ c _ c_ o_┆
0x0200…0220 08 64 5f 08 65 0a 20 20 20 20 20 23 08 23 08 23 08 23 64 08 64 08 64 08 64 65 08 65 08 65 08 65 ┆ d_ e # # # #d d d de e e e┆
0x0220…0240 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 20 50 08 50 ┆f f f fi i i in n n ne e e e P P┆
0x0240…0260 08 50 08 50 45 08 45 08 45 08 45 45 08 45 08 45 08 45 4b 08 4b 08 4b 08 4b 43 08 43 08 43 08 43 ┆ P PE E E EE E E EK K K KC C C C┆
0x0260…0280 28 08 28 08 28 08 28 29 08 29 08 29 08 29 20 5f 08 70 5f 08 65 5f 08 65 5f 08 6b 5f 08 63 20 5f ┆( ( ( () ) ) ) _ p_ e_ e_ k_ c _┆
0x0280…02a0 08 63 5f 08 6f 5f 08 64 5f 08 65 0a 20 20 20 20 20 23 08 23 08 23 08 23 64 08 64 08 64 08 64 65 ┆ c_ o_ d_ e # # # #d d d de┆
0x02a0…02c0 08 65 08 65 08 65 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 65 08 65 08 65 ┆ e e ef f f fi i i in n n ne e e┆
0x02c0…02e0 08 65 20 55 08 55 08 55 08 55 4e 08 4e 08 4e 08 4e 47 08 47 08 47 08 47 45 08 45 08 45 08 45 54 ┆ e U U U UN N N NG G G GE E E ET┆
0x02e0…0300 08 54 08 54 08 54 43 08 43 08 43 08 43 28 08 28 08 28 08 28 29 08 29 08 29 08 29 20 5f 08 75 5f ┆ T T TC C C C( ( ( () ) ) ) _ u_┆
0x0300…0320 08 6e 5f 08 67 5f 08 65 5f 08 74 5f 08 63 20 5f 08 63 5f 08 6f 5f 08 64 5f 08 65 0a 20 20 20 20 ┆ n_ g_ e_ t_ c _ c_ o_ d_ e ┆
0x0320…0340 20 23 08 23 08 23 08 23 64 08 64 08 64 08 64 65 08 65 08 65 08 65 66 08 66 08 66 08 66 69 08 69 ┆ # # # #d d d de e e ef f f fi i┆
0x0340…0360 08 69 08 69 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 20 52 08 52 08 52 08 52 45 08 45 08 45 08 ┆ i in n n ne e e e R R R RE E E ┆
0x0360…0380 45 54 08 54 08 54 08 54 55 08 55 08 55 08 55 52 08 52 08 52 08 52 4e 08 4e 08 4e 08 4e 28 08 28 ┆ET T T TU U U UR R R RN N N N( (┆
0x0380…03a0 08 28 08 28 5f 08 70 5f 08 74 5f 08 72 29 20 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 ┆ ( (_ p_ t_ r) _ r_ e_ t_ u_ r_ ┆
0x03a0…03c0 6e 20 5f 08 63 5f 08 6f 5f 08 64 5f 08 65 0a 20 20 20 20 20 23 08 23 08 23 08 23 64 08 64 08 64 ┆n _ c_ o_ d_ e # # # #d d d┆
0x03c0…03e0 08 64 65 08 65 08 65 08 65 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 65 08 ┆ de e e ef f f fi i i in n n ne ┆
0x03e0…0400 65 08 65 08 65 20 45 08 45 08 45 08 45 52 08 52 08 52 08 52 52 08 52 08 52 08 52 4f 08 4f 08 4f ┆e e e E E E ER R R RR R R RO O O┆
0x0400…0420 08 4f 52 08 52 08 52 08 52 28 08 28 08 28 08 28 5f 08 76 5f 08 61 5f 08 6c 29 20 5f 08 65 5f 08 ┆ OR R R R( ( ( (_ v_ a_ l) _ e_ ┆
0x0420…0440 72 5f 08 72 5f 08 6f 5f 08 72 20 5f 08 63 5f 08 6f 5f 08 64 5f 08 65 0a 0a 20 20 20 20 20 23 08 ┆r_ r_ o_ r _ c_ o_ d_ e # ┆
0x0440…0460 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 ┆# # #i i i in n n nc c c cl l l ┆
0x0460…0480 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 72 08 ┆lu u u ud d d de e e e < < < <r ┆
0x0480…04a0 72 08 72 08 72 65 08 65 08 65 08 65 67 08 67 08 67 08 67 65 08 65 08 65 08 65 78 08 78 08 78 08 ┆r r re e e eg g g ge e e ex x x ┆
0x04a0…04c0 78 70 08 70 08 70 08 70 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 ┆xp p p p. . . .h h h h> > > > ┆
0x04c0…04e0 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 ┆ c c c ch h h ha a a ar r r r┆
0x04e0…0500 20 2a 08 2a 08 2a 08 2a 63 08 63 08 63 08 63 6f 08 6f 08 6f 08 6f 6d 08 6d 08 6d 08 6d 70 08 70 ┆ * * * *c c c co o o om m m mp p┆
0x0500…0520 08 70 08 70 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 28 08 28 08 28 08 28 ┆ p pi i i il l l le e e e( ( ( (┆
0x0520…0540 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 ┆i i i in n n ns s s st t t tr r ┆
0x0540…0560 72 08 72 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 2c 08 2c 08 2c 08 2c 20 ┆r ri i i in n n ng g g g, , , , ┆
0x0560…0580 65 08 65 08 65 08 65 78 08 78 08 78 08 78 70 08 70 08 70 08 70 62 08 62 08 62 08 62 75 08 75 08 ┆e e e ex x x xp p p pb b b bu u ┆
0x0580…05a0 75 08 75 66 08 66 08 66 08 66 2c 08 2c 08 2c 08 2c 20 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e ┆u uf f f f, , , , e e e en n n n┆
0x05a0…05c0 64 08 64 08 64 08 64 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 2c 08 2c 08 ┆d d d db b b bu u u uf f f f, , ┆
0x05c0…05e0 2c 08 2c 20 65 08 65 08 65 08 65 6f 08 6f 08 6f 08 6f 66 08 66 08 66 08 66 29 08 29 08 29 08 29 ┆, , e e e eo o o of f f f) ) ) )┆
0x05e0…0600 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 ┆ c c c ch h h ha a a ar r r┆
0x0600…0620 08 72 20 2a 08 2a 08 2a 08 2a 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 73 08 73 08 73 08 73 74 ┆ r * * * *i i i in n n ns s s st┆
0x0620…0640 08 74 08 74 08 74 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 67 08 67 08 67 ┆ t t tr r r ri i i in n n ng g g┆
0x0640…0660 08 67 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 65 08 65 08 65 08 65 78 08 78 08 78 08 78 70 ┆ g, , , , * * * *e e e ex x x xp┆
0x0660…0680 08 70 08 70 08 70 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 2c 08 2c 08 2c ┆ p p pb b b bu u u uf f f f, , ,┆
0x0680…06a0 08 2c 20 2a 08 2a 08 2a 08 2a 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 64 08 64 08 64 08 64 62 ┆ , * * * *e e e en n n nd d d db┆
0x06a0…06c0 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 ┆ b b bu u u uf f f f; ; ; ; ┆
0x06c0…06e0 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 65 08 65 08 65 08 65 6f 08 ┆ i i i in n n nt t t t e e e eo ┆
0x06e0…0700 6f 08 6f 08 6f 66 08 66 08 66 08 66 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 69 08 69 08 69 08 ┆o o of f f f; ; ; ; i i i ┆
0x0700…0720 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 65 08 ┆in n n nt t t t s s s st t t te ┆
0x0720…0740 65 08 65 08 65 70 08 70 08 70 08 70 28 08 28 08 28 08 28 73 08 73 08 73 08 73 74 08 74 08 74 08 ┆e e ep p p p( ( ( (s s s st t t ┆
0x0740…0760 74 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 2c 08 2c ┆tr r r ri i i in n n ng g g g, ,┆
0x0760…0780 08 2c 08 2c 20 65 08 65 08 65 08 65 78 08 78 08 78 08 78 70 08 70 08 70 08 70 62 08 62 08 62 08 ┆ , , e e e ex x x xp p p pb b b ┆
0x0780…07a0 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 ┆bu u u uf f f f) ) ) ) c c ┆
0x07a0…07c0 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a ┆c ch h h ha a a ar r r r * * * *┆
0x07c0…07e0 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6e 08 6e 08 ┆s s s st t t tr r r ri i i in n ┆
0x07e0…0800 6e 08 6e 67 08 67 08 67 08 67 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 65 08 65 08 65 08 65 ┆n ng g g g, , , , * * * *e e e e┆
0x0800…0820 78 08 78 08 78 08 78 70 08 70 08 70 08 70 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 ┆x x x xp p p pb b b bu u u uf f ┆
0x0820…0840 66 08 66 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 ┆f f; ; ; ; i i i in n n nt┆
0x0840…0860 08 74 08 74 08 74 20 61 08 61 08 61 08 61 64 08 64 08 64 08 64 76 08 76 08 76 08 76 61 08 61 08 ┆ t t t a a a ad d d dv v v va a ┆
0x0860…0880 61 08 61 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 65 08 65 08 65 08 65 28 08 28 08 28 08 28 73 ┆a an n n nc c c ce e e e( ( ( (s┆
0x0880…08a0 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6e 08 6e 08 6e ┆ s s st t t tr r r ri i i in n n┆
0x08a0…08c0 08 6e 67 08 67 08 67 08 67 2c 08 2c 08 2c 08 2c 20 65 08 65 08 65 08 65 78 08 78 08 78 08 78 70 ┆ ng g g g, , , , e e e ex x x xp┆
0x08c0…08e0 08 70 08 70 08 70 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 29 08 29 08 29 ┆ p p pb b b bu u u uf f f f) ) )┆
0x08e0…0900 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 ┆ ) c c c ch h h ha a a ar r┆
0x0900…0920 08 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 ┆ r r * * * *s s s st t t tr r r ┆
0x0920…0940 72 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 2c 08 2c 08 2c 08 2c 20 2a 08 ┆ri i i in n n ng g g g, , , , * ┆
0x0940…0960 2a 08 2a 08 2a 65 08 65 08 65 08 65 78 08 78 08 78 08 78 70 08 70 08 70 08 70 62 08 62 08 62 08 ┆* * *e e e ex x x xp p p pb b b ┆
0x0960…0980 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 65 08 65 ┆bu u u uf f f f; ; ; ; e e┆
0x0980…09a0 08 65 08 65 78 08 78 08 78 08 78 74 08 74 08 74 08 74 65 08 65 08 65 08 65 72 08 72 08 72 08 72 ┆ e ex x x xt t t te e e er r r r┆
0x09a0…09c0 6e 08 6e 08 6e 08 6e 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 ┆n n n n c c c ch h h ha a a ar r┆
0x09c0…09e0 08 72 08 72 20 2a 08 2a 08 2a 08 2a 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 ┆ r r * * * *l l l lo o o oc c c ┆
0x09e0…0a00 63 31 08 31 08 31 08 31 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 6c 08 6c 08 6c 08 6c 6f 08 ┆c1 1 1 1, , , , * * * *l l l lo ┆
0x0a00…0a20 6f 08 6f 08 6f 63 08 63 08 63 08 63 32 08 32 08 32 08 32 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a ┆o o oc c c c2 2 2 2, , , , * * *┆
0x0a20…0a40 08 2a 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 73 08 73 08 73 08 73 3b 08 ┆ *l l l lo o o oc c c cs s s s; ┆
0x0a40…0a60 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 ┆; ; ; D D D DE E E ES S S SC C ┆
0x0a60…0a80 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 ┆C CR R R RI I I IP P P PT T T TI┆
0x0a80…0aa0 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 54 68 65 73 65 20 ┆ I I IO O O ON N N N These ┆
0x0aa0…0ac0 66 75 6e 63 74 69 6f 6e 73 20 61 72 65 20 67 65 6e 65 72 61 6c 20 70 75 72 70 6f 73 65 20 72 65 ┆functions are general purpose re┆
0x0ac0…0ae0 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 0a 20 20 20 20 20 6d 61 74 63 68 69 6e 67 20 72 ┆gular expression matching r┆
0x0ae0…0b00 6f 75 74 69 6e 65 73 20 74 6f 20 62 65 20 75 73 65 64 20 69 6e 20 70 72 6f 67 72 61 6d 73 20 74 ┆outines to be used in programs t┆
0x0b00…0b20 68 61 74 20 70 65 72 66 6f 72 6d 20 72 65 67 75 2d 0a 20 20 20 20 20 6c 61 72 20 65 78 70 72 65 ┆hat perform regu- lar expre┆
0x0b20…0b40 73 73 69 6f 6e 20 6d 61 74 63 68 69 6e 67 2e 20 20 54 68 65 73 65 20 66 75 6e 63 74 69 6f 6e 73 ┆ssion matching. These functions┆
0x0b40…0b60 20 61 72 65 20 64 65 66 69 6e 65 64 20 62 79 20 74 68 65 0a 20 20 20 20 20 3c 08 3c 08 3c 08 3c ┆ are defined by the < < < <┆
0x0b60…0b80 72 08 72 08 72 08 72 65 08 65 08 65 08 65 67 08 67 08 67 08 67 65 08 65 08 65 08 65 78 08 78 08 ┆r r r re e e eg g g ge e e ex x ┆
0x0b80…0ba0 78 08 78 70 08 70 08 70 08 70 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 20 ┆x xp p p p. . . .h h h h> > > > ┆
0x0ba0…0bc0 68 65 61 64 65 72 20 66 69 6c 65 2e 0a 0a 20 20 20 20 20 54 68 65 20 66 75 6e 63 74 69 6f 6e 73 ┆header file. The functions┆
0x0bc0…0be0 20 5f 08 73 5f 08 74 5f 08 65 5f 08 70 20 61 6e 64 20 5f 08 61 5f 08 64 5f 08 76 5f 08 61 5f 08 ┆ _ s_ t_ e_ p and _ a_ d_ v_ a_ ┆
0x0be0…0c00 6e 5f 08 63 5f 08 65 20 64 6f 20 70 61 74 74 65 72 6e 20 6d 61 74 63 68 69 6e 67 20 67 69 76 65 ┆n_ c_ e do pattern matching give┆
0x0c00…0c20 6e 20 61 0a 20 20 20 20 20 63 68 61 72 61 63 74 65 72 20 73 74 72 69 6e 67 20 61 6e 64 20 61 20 ┆n a character string and a ┆
0x0c20…0c40 63 6f 6d 70 69 6c 65 64 20 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 20 61 73 20 69 ┆compiled regular expression as i┆
0x0c40…0c60 6e 70 75 74 2e 0a 0a 20 20 20 20 20 54 68 65 20 66 75 6e 63 74 69 6f 6e 20 5f 08 63 5f 08 6f 5f ┆nput. The function _ c_ o_┆
0x0c60…0c80 08 6d 5f 08 70 5f 08 69 5f 08 6c 5f 08 65 20 74 61 6b 65 73 20 61 73 20 69 6e 70 75 74 20 61 20 ┆ m_ p_ i_ l_ e takes as input a ┆
0x0c80…0ca0 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 20 61 73 0a 20 20 20 20 20 64 65 66 69 6e ┆regular expression as defin┆
0x0ca0…0cc0 65 64 20 62 65 6c 6f 77 20 61 6e 64 20 70 72 6f 64 75 63 65 73 20 61 20 63 6f 6d 70 69 6c 65 64 ┆ed below and produces a compiled┆
0x0cc0…0ce0 20 65 78 70 72 65 73 73 69 6f 6e 20 74 68 61 74 20 63 61 6e 20 62 65 0a 20 20 20 20 20 75 73 65 ┆ expression that can be use┆
0x0ce0…0d00 64 20 77 69 74 68 20 5f 08 73 5f 08 74 5f 08 65 5f 08 70 20 6f 72 20 5f 08 61 5f 08 64 5f 08 76 ┆d with _ s_ t_ e_ p or _ a_ d_ v┆
0x0d00…0d20 5f 08 61 5f 08 6e 5f 08 63 5f 08 65 2e 0a 0a 20 20 20 20 20 41 20 72 65 67 75 6c 61 72 20 65 78 ┆_ a_ n_ c_ e. A regular ex┆
0x0d20…0d40 70 72 65 73 73 69 6f 6e 20 73 70 65 63 69 66 69 65 73 20 61 20 73 65 74 20 6f 66 20 63 68 61 72 ┆pression specifies a set of char┆
0x0d40…0d60 61 63 74 65 72 20 73 74 72 69 6e 67 73 2e 0a 20 20 20 20 20 41 20 6d 65 6d 62 65 72 20 6f 66 20 ┆acter strings. A member of ┆
0x0d60…0d80 74 68 69 73 20 73 65 74 20 6f 66 20 73 74 72 69 6e 67 73 20 69 73 20 73 61 69 64 20 74 6f 20 62 ┆this set of strings is said to b┆
0x0d80…0da0 65 20 6d 61 74 63 68 65 64 20 62 79 20 74 68 65 0a 20 20 20 20 20 72 65 67 75 6c 61 72 20 65 78 ┆e matched by the regular ex┆
0x0da0…0dc0 70 72 65 73 73 69 6f 6e 2e 20 20 53 6f 6d 65 20 63 68 61 72 61 63 74 65 72 73 20 68 61 76 65 20 ┆pression. Some characters have ┆
0x0dc0…0de0 73 70 65 63 69 61 6c 20 6d 65 61 6e 69 6e 67 0a 20 20 20 20 20 77 68 65 6e 20 75 73 65 64 20 69 ┆special meaning when used i┆
0x0de0…0e00 6e 20 61 20 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 3b 20 6f 74 68 65 72 20 63 68 ┆n a regular expression; other ch┆
0x0e00…0e20 61 72 61 63 74 65 72 73 20 73 74 61 6e 64 0a 20 20 20 20 20 66 6f 72 20 74 68 65 6d 73 65 6c 76 ┆aracters stand for themselv┆
0x0e20…0e40 65 73 2e 0a 0a 20 20 20 20 20 54 68 65 20 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e ┆es. The regular expression┆
0x0e40…0e60 73 20 61 76 61 69 6c 61 62 6c 65 20 66 6f 72 20 75 73 65 20 77 69 74 68 20 74 68 65 20 72 65 67 ┆s available for use with the reg┆
0x0e60…0e80 65 78 70 0a 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 73 20 61 72 65 20 63 6f 6e 73 74 72 75 63 74 ┆exp functions are construct┆
0x0e80…0ea0 65 64 20 61 73 20 66 6f 6c 6c 6f 77 73 3a 0a 0a 20 20 20 20 20 5f 08 45 5f 08 78 5f 08 70 5f 08 ┆ed as follows: _ E_ x_ p_ ┆
0x0ea0…0ec0 72 5f 08 65 5f 08 73 5f 08 73 5f 08 69 5f 08 6f 5f 08 6e 20 20 5f 08 4d 5f 08 65 5f 08 61 5f 08 ┆r_ e_ s_ s_ i_ o_ n _ M_ e_ a_ ┆
0x0ec0…0ee0 6e 5f 08 69 5f 08 6e 5f 08 67 0a 0a 20 20 20 20 20 5f 08 63 20 20 20 20 20 20 20 20 20 20 20 74 ┆n_ i_ n_ g _ c t┆
0x0ee0…0f00 68 65 20 63 68 61 72 61 63 74 65 72 20 5f 08 63 20 77 68 65 72 65 20 5f 08 63 20 69 73 20 6e 6f ┆he character _ c where _ c is no┆
0x0f00…0f20 74 20 61 20 73 70 65 63 69 61 6c 20 63 68 61 72 61 63 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆t a special charac- ┆
0x0f20…0f40 20 20 20 20 20 74 65 72 2e 0a 0a 20 20 20 20 20 5c 08 5c 08 5c 08 5c 5f 08 63 20 20 20 20 20 20 ┆ ter. \ \ \ \_ c ┆
0x0f40…0f60 20 20 20 20 74 68 65 20 63 68 61 72 61 63 74 65 72 20 5f 08 63 20 77 68 65 72 65 20 5f 08 63 20 ┆ the character _ c where _ c ┆
0x0f60…0f80 69 73 20 61 6e 79 20 63 68 61 72 61 63 74 65 72 2c 20 65 78 63 65 70 74 0a 20 20 20 20 20 20 20 ┆is any character, except ┆
0x0f80…0fa0 20 20 20 20 20 20 20 20 20 20 61 20 64 69 67 69 74 20 69 6e 20 74 68 65 20 72 61 6e 67 65 20 31 ┆ a digit in the range 1┆
0x0fa0…0fc0 08 31 08 31 08 31 2d 08 2d 08 2d 08 2d 39 08 39 08 39 08 39 2e 0a 0a 20 20 20 20 20 5e 08 5e 08 ┆ 1 1 1- - - -9 9 9 9. ^ ^ ┆
0x0fc0…0fe0 5e 08 5e 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 20 74 ┆^ ^ the beginning of t┆
0x0fe0…1000 68 65 20 6c 69 6e 65 20 62 65 69 6e 67 20 63 6f 6d 70 61 72 65 64 2e 0a 0a 20 20 20 20 20 24 08 ┆he line being compared. $ ┆
0x1000…1020 24 08 24 08 24 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 20 6c ┆$ $ $ the end of the l┆
0x1020…1040 69 6e 65 20 62 65 69 6e 67 20 63 6f 6d 70 61 72 65 64 2e 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 2e ┆ine being compared. .┆
0x1040…1060 08 2e 08 2e 08 2e 20 20 20 20 20 20 20 20 20 20 20 61 6e 79 20 63 68 61 72 61 63 74 65 72 20 69 ┆ . . . any character i┆
0x1060…1080 6e 20 74 68 65 20 69 6e 70 75 74 2e 0a 0a 20 20 20 20 20 5b 08 5b 08 5b 08 5b 5f 08 73 5d 20 20 ┆n the input. [ [ [ [_ s] ┆
0x1080…10a0 20 20 20 20 20 20 20 61 6e 79 20 63 68 61 72 61 63 74 65 72 20 69 6e 20 74 68 65 20 73 65 74 20 ┆ any character in the set ┆
0x10a0…10c0 5f 08 73 2c 20 77 68 65 72 65 20 5f 08 73 20 69 73 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆_ s, where _ s is a ┆
0x10c0…10e0 20 20 20 20 20 73 65 71 75 65 6e 63 65 20 6f 66 20 63 68 61 72 61 63 74 65 72 73 20 61 6e 64 2f ┆ sequence of characters and/┆
0x10e0…1100 6f 72 20 61 20 72 61 6e 67 65 20 6f 66 20 63 68 61 72 61 63 2d 0a 20 20 20 20 20 20 20 20 20 20 ┆or a range of charac- ┆
0x1100…1120 20 20 20 20 20 20 20 74 65 72 73 2c 20 65 2e 67 2e 2c 20 5b 08 5b 08 5b 08 5b 5f 08 63 2d 08 2d ┆ ters, e.g., [ [ [ [_ c- -┆
0x1120…1140 08 2d 08 2d 5f 08 63 5d 08 5d 08 5d 08 5d 2e 0a 0a 20 20 20 20 20 5b 08 5b 08 5b 08 5b 5e 08 5e ┆ - -_ c] ] ] ]. [ [ [ [^ ^┆
0x1140…1160 08 5e 08 5e 5f 08 73 5d 08 5d 08 5d 08 5d 20 20 20 20 20 20 20 20 61 6e 79 20 63 68 61 72 61 63 ┆ ^ ^_ s] ] ] ] any charac┆
0x1160…1180 74 65 72 20 6e 6f 74 20 69 6e 20 74 68 65 20 73 65 74 20 5f 08 73 2c 20 77 68 65 72 65 20 5f 08 ┆ter not in the set _ s, where _ ┆
0x1180…11a0 73 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 66 69 6e 65 64 20 61 73 ┆s is defined as┆
0x11a0…11c0 20 61 62 6f 76 65 2e 0a 0a 20 20 20 20 20 5f 08 72 2a 08 2a 08 2a 08 2a 20 20 20 20 20 20 20 20 ┆ above. _ r* * * * ┆
0x11c0…11e0 20 20 7a 65 72 6f 20 6f 72 20 6d 6f 72 65 20 73 75 63 63 65 73 73 69 76 65 20 6f 63 63 75 72 72 ┆ zero or more successive occurr┆
0x11e0…1200 65 6e 63 65 73 20 6f 66 20 74 68 65 20 72 65 67 75 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ences of the regu- ┆
0x1200…1220 20 20 20 20 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 20 5f 08 72 2e 20 20 54 68 65 20 6c 6f 6e ┆ lar expression _ r. The lon┆
0x1220…1240 67 65 73 74 20 6c 65 66 74 6d 6f 73 74 20 6d 61 74 63 68 20 69 73 0a 20 20 20 20 20 20 20 20 20 ┆gest leftmost match is ┆
0x1240…1260 20 20 20 20 20 20 20 20 63 68 6f 73 65 6e 2e 0a 0a 20 20 20 20 20 5f 08 72 5f 08 78 20 20 20 20 ┆ chosen. _ r_ x ┆
0x1260…1280 20 20 20 20 20 20 74 68 65 20 6f 63 63 75 72 72 65 6e 63 65 20 6f 66 20 72 65 67 75 6c 61 72 20 ┆ the occurrence of regular ┆
0x1280…12a0 65 78 70 72 65 73 73 69 6f 6e 20 5f 08 72 20 66 6f 6c 6c 6f 77 65 64 0a 20 20 20 20 20 20 20 20 ┆expression _ r followed ┆
0x12a0…12c0 20 20 20 20 20 20 20 20 20 62 79 20 74 68 65 20 6f 63 63 75 72 72 65 6e 63 65 20 6f 66 20 72 65 ┆ by the occurrence of re┆
0x12c0…12e0 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 20 5f 08 78 2e 0a 20 20 20 20 20 20 20 20 20 20 ┆gular expression _ x. ┆
0x12e0…1300 20 20 20 20 20 20 20 28 43 6f 6e 63 61 74 65 6e 61 74 69 6f 6e 29 0a 0a 20 20 20 20 20 5f 08 72 ┆ (Concatenation) _ r┆
0x1300…1320 5c 08 5c 08 5c 08 5c 7b 08 7b 08 7b 08 7b 5f 08 6d 2c 08 2c 08 2c 08 2c 5f 08 6e 5c 08 5c 08 5c ┆\ \ \ \{ { { {_ m, , , ,_ n\ \ \┆
0x1320…1340 08 5c 7d 08 7d 08 7d 08 7d 20 20 20 20 61 6e 79 20 6e 75 6d 62 65 72 20 6f 66 20 5f 08 6d 20 74 ┆ \} } } } any number of _ m t┆
0x1340…1360 68 72 6f 75 67 68 20 5f 08 6e 20 73 75 63 63 65 73 73 69 76 65 20 6f 63 63 75 72 72 65 6e 63 65 ┆hrough _ n successive occurrence┆
0x1360…1380 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 66 20 74 68 65 20 72 65 67 75 6c 61 ┆s of the regula┆
0x1380…13a0 72 20 65 78 70 72 65 73 73 69 6f 6e 20 5f 08 72 2e 20 20 54 68 65 20 72 65 67 75 6c 61 72 0a 20 ┆r expression _ r. The regular ┆
0x13a0…13c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 70 72 65 73 73 69 6f 6e 20 5f 08 72 5c 08 ┆ expression _ r\ ┆
0x13c0…13e0 5c 08 5c 08 5c 7b 08 7b 08 7b 08 7b 5f 08 6d 5c 08 5c 08 5c 08 5c 7d 08 7d 08 7d 08 7d 20 6d 61 ┆\ \ \{ { { {_ m\ \ \ \} } } } ma┆
0x13e0…1400 74 63 68 65 73 20 65 78 61 63 74 6c 79 20 5f 08 6d 20 6f 63 63 75 72 72 65 6e 63 65 73 3b 0a 20 ┆tches exactly _ m occurrences; ┆
0x1400…1420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 72 5c 08 5c 08 5c 08 5c 7b 08 7b 08 7b 08 ┆ _ r\ \ \ \{ { { ┆
0x1420…1440 7b 5f 08 6d 2c 08 2c 08 2c 08 2c 5c 08 5c 08 5c 08 5c 7d 08 7d 08 7d 08 7d 20 6d 61 74 63 68 65 ┆{_ m, , , ,\ \ \ \} } } } matche┆
0x1440…1460 73 20 61 74 20 6c 65 61 73 74 20 5f 08 6d 20 6f 63 63 75 72 72 65 6e 63 65 73 2e 0a 0a 20 20 20 ┆s at least _ m occurrences. ┆
0x1460…1480 20 20 5c 08 5c 08 5c 08 5c 28 08 28 08 28 08 28 5f 08 72 5c 08 5c 08 5c 08 5c 29 08 29 08 29 08 ┆ \ \ \ \( ( ( (_ r\ \ \ \) ) ) ┆
0x1480…14a0 29 20 20 20 20 20 20 20 74 68 65 20 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 20 5f ┆) the regular expression _┆
0x14a0…14c0 08 72 2e 20 20 57 68 65 6e 20 5c 08 5c 08 5c 08 5c 5f 08 6e 20 28 77 68 65 72 65 20 5f 08 6e 20 ┆ r. When \ \ \ \_ n (where _ n ┆
0x14c0…14e0 69 73 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 75 6d 62 65 72 20 67 72 65 ┆is a number gre┆
0x14e0…1500 61 74 65 72 20 74 68 61 6e 20 7a 65 72 6f 29 20 61 70 70 65 61 72 73 20 69 6e 20 61 20 63 6f 6e ┆ater than zero) appears in a con┆
0x1500…1520 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 72 75 63 74 65 64 20 72 65 67 75 ┆- structed regu┆
0x1520…1540 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 2c 20 69 74 20 73 74 61 6e 64 73 20 66 6f 72 20 74 68 ┆lar expression, it stands for th┆
0x1540…1560 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 67 75 6c 61 72 20 65 78 70 72 65 ┆e regular expre┆
0x1560…1580 73 73 69 6f 6e 20 5f 08 78 20 77 68 65 72 65 20 5f 08 78 20 69 73 20 74 68 65 20 5f 08 6e 5f 08 ┆ssion _ x where _ x is the _ n_ ┆
0x1580…15a0 74 5f 08 68 20 72 65 67 75 6c 61 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 ┆t_ h regular ex┆
0x15a0…15c0 70 72 65 73 73 69 6f 6e 20 65 6e 63 6c 6f 73 65 64 20 69 6e 20 5c 08 5c 08 5c 08 5c 28 08 28 08 ┆pression enclosed in \ \ \ \( ( ┆
0x15c0…15e0 28 08 28 20 61 6e 64 20 5c 08 5c 08 5c 08 5c 29 08 29 08 29 08 29 20 74 68 61 74 20 61 70 70 65 ┆( ( and \ \ \ \) ) ) ) that appe┆
0x15e0…1600 61 72 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 61 72 6c 69 65 72 20 69 6e ┆ared earlier in┆
0x1600…1620 20 74 68 65 20 63 6f 6e 73 74 72 75 63 74 65 64 20 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 ┆ the constructed regular express┆
0x1620…1640 69 6f 6e 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 46 6f 72 20 65 78 61 6d 70 6c ┆ion. For exampl┆
0x1640…1660 65 2c 20 5c 08 5c 08 5c 08 5c 28 08 28 08 28 08 28 5f 08 72 5c 08 5c 08 5c 08 5c 29 08 29 08 29 ┆e, \ \ \ \( ( ( (_ r\ \ \ \) ) )┆
0x1660…1680 08 29 5f 08 78 5c 08 5c 08 5c 08 5c 28 08 28 08 28 08 28 5f 08 79 5c 08 5c 08 5c 08 5c 29 08 29 ┆ )_ x\ \ \ \( ( ( (_ y\ \ \ \) )┆
0x1680…16a0 08 29 08 29 5f 08 7a 5c 08 5c 08 5c 08 5c 32 08 32 08 32 08 32 20 69 73 20 74 68 65 20 63 6f 6e ┆ ) )_ z\ \ \ \2 2 2 2 is the con┆
0x16a0…16c0 63 61 74 65 6e 61 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 66 20 72 ┆catenation of r┆
0x16c0…16e0 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 73 20 5f 08 72 5f 08 78 5f 08 79 5f 08 7a 5f ┆egular expressions _ r_ x_ y_ z_┆
0x16e0…1700 08 79 2e 0a 0a 20 20 20 20 20 43 68 61 72 61 63 74 65 72 73 20 74 68 61 74 20 68 61 76 65 20 73 ┆ y. Characters that have s┆
0x1700…1720 70 65 63 69 61 6c 20 6d 65 61 6e 69 6e 67 20 65 78 63 65 70 74 20 77 68 65 6e 20 74 68 65 79 20 ┆pecial meaning except when they ┆
0x1720…1740 61 70 70 65 61 72 0a 20 20 20 20 20 77 69 74 68 69 6e 20 73 71 75 61 72 65 20 62 72 61 63 6b 65 ┆appear within square bracke┆
0x1740…1760 74 73 20 28 5b 08 5b 08 5b 08 5b 5d 08 5d 08 5d 08 5d 29 20 6f 72 20 61 72 65 20 70 72 65 63 65 ┆ts ([ [ [ [] ] ] ]) or are prece┆
0x1760…1780 64 65 64 20 62 79 20 5c 08 5c 08 5c 08 5c 20 61 72 65 3a 20 20 2e 08 2e 08 2e 08 2e 2c 20 2a 08 ┆ded by \ \ \ \ are: . . . ., * ┆
0x1780…17a0 2a 08 2a 08 2a 2c 0a 20 20 20 20 20 5b 08 5b 08 5b 08 5b 2c 20 5c 08 5c 08 5c 08 5c 2e 20 20 4f ┆* * *, [ [ [ [, \ \ \ \. O┆
0x17a0…17c0 74 68 65 72 20 73 70 65 63 69 61 6c 20 63 68 61 72 61 63 74 65 72 73 2c 20 73 75 63 68 20 61 73 ┆ther special characters, such as┆
0x17c0…17e0 20 24 08 24 08 24 08 24 20 68 61 76 65 20 73 70 65 63 69 61 6c 0a 20 20 20 20 20 6d 65 61 6e 69 ┆ $ $ $ $ have special meani┆
0x17e0…1800 6e 67 20 69 6e 20 6d 6f 72 65 20 72 65 73 74 72 69 63 74 65 64 20 63 6f 6e 74 65 78 74 73 2e 0a ┆ng in more restricted contexts. ┆
0x1800…1820 0a 20 20 20 20 20 54 68 65 20 63 68 61 72 61 63 74 65 72 20 5e 08 5e 08 5e 08 5e 20 61 74 20 74 ┆ The character ^ ^ ^ ^ at t┆
0x1820…1840 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 20 61 6e 20 65 78 70 72 65 73 73 69 6f 6e 20 70 65 ┆he beginning of an expression pe┆
0x1840…1860 72 6d 69 74 73 20 61 0a 20 20 20 20 20 73 75 63 63 65 73 73 66 75 6c 20 6d 61 74 63 68 20 6f 6e ┆rmits a successful match on┆
0x1860…1880 6c 79 20 69 6d 6d 65 64 69 61 74 65 6c 79 20 61 66 74 65 72 20 61 20 6e 65 77 6c 69 6e 65 2c 20 ┆ly immediately after a newline, ┆
0x1880…18a0 61 6e 64 20 74 68 65 0a 20 20 20 20 20 63 68 61 72 61 63 74 65 72 20 24 08 24 08 24 08 24 20 61 ┆and the character $ $ $ $ a┆
0x18a0…18c0 74 20 74 68 65 20 65 6e 64 20 6f 66 20 61 6e 20 65 78 70 72 65 73 73 69 6f 6e 20 72 65 71 75 69 ┆t the end of an expression requi┆
0x18c0…18e0 72 65 73 20 61 20 74 72 61 69 6c 69 6e 67 0a 20 20 20 20 20 6e 65 77 6c 69 6e 65 2e 0a 0a 20 20 ┆res a trailing newline. ┆
0x18e0…1900 20 20 20 54 77 6f 20 63 68 61 72 61 63 74 65 72 73 20 68 61 76 65 20 73 70 65 63 69 61 6c 20 6d ┆ Two characters have special m┆
0x1900…1920 65 61 6e 69 6e 67 20 6f 6e 6c 79 20 77 68 65 6e 20 75 73 65 64 20 77 69 74 68 69 6e 0a 20 20 20 ┆eaning only when used within ┆
[…truncated at 200 lines…]