home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-01-05 | 2.3 KB | [TEXT/□□□□] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Sun Jan 5 00:10:41 1992, modified Sun Jan 5 00:10:41 1992, type ASCII, 1571 bytes "regexp.h" , at 0x6a3 419 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [□□□□] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 72 65 67 65 78 70 | 2e 68 00 00 00 00 00 00 |..regexp|.h......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 00 00 00 | 00 00 00 00 00 00 00 00 |.TEXT...|........|
|00000050| 00 00 00 00 00 06 23 00 | 00 01 a3 a5 8c 43 d1 a5 |......#.|.....C..|
|00000060| 8c 43 d1 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.C......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 00 5c 00 00 |........|.....\..|
|00000080| 2f 2a 0d 20 2a 20 44 65 | 66 69 6e 69 74 69 6f 6e |/*. * De|finition|
|00000090| 73 20 65 74 63 2e 20 66 | 6f 72 20 72 65 67 65 78 |s etc. f|or regex|
|000000a0| 70 28 33 29 20 72 6f 75 | 74 69 6e 65 73 2e 0d 20 |p(3) rou|tines.. |
|000000b0| 2a 0d 20 2a 20 43 61 76 | 65 61 74 3a 20 20 74 68 |*. * Cav|eat: th|
|000000c0| 69 73 20 69 73 20 56 38 | 20 72 65 67 65 78 70 28 |is is V8| regexp(|
|000000d0| 33 29 20 5b 61 63 74 75 | 61 6c 6c 79 2c 20 61 20 |3) [actu|ally, a |
|000000e0| 72 65 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |reimplem|entation|
|000000f0| 20 74 68 65 72 65 6f 66 | 5d 2c 0d 20 2a 20 6e 6f | thereof|],. * no|
|00000100| 74 20 74 68 65 20 53 79 | 73 74 65 6d 20 56 20 6f |t the Sy|stem V o|
|00000110| 6e 65 2e 0d 20 2a 2f 0d | 0d 2f 2a 20 24 52 43 53 |ne.. */.|./* $RCS|
|00000120| 66 69 6c 65 3a 20 72 65 | 67 65 78 70 2e 68 2c 76 |file: re|gexp.h,v|
|00000130| 20 24 24 52 65 76 69 73 | 69 6f 6e 3a 20 34 2e 30 | $$Revis|ion: 4.0|
|00000140| 2e 31 2e 32 20 24 24 44 | 61 74 65 3a 20 39 31 2f |.1.2 $$D|ate: 91/|
|00000150| 31 31 2f 30 35 20 31 38 | 3a 32 34 3a 33 31 20 24 |11/05 18|:24:31 $|
|00000160| 0d 20 2a 0d 20 2a 20 24 | 4c 6f 67 3a 09 72 65 67 |. *. * $|Log:.reg|
|00000170| 65 78 70 2e 68 2c 76 20 | 24 0d 20 2a 20 52 65 76 |exp.h,v |$. * Rev|
|00000180| 69 73 69 6f 6e 20 34 2e | 30 2e 31 2e 32 20 20 39 |ision 4.|0.1.2 9|
|00000190| 31 2f 31 31 2f 30 35 20 | 20 31 38 3a 32 34 3a 33 |1/11/05 | 18:24:3|
|000001a0| 31 20 20 6c 77 61 6c 6c | 0d 20 2a 20 70 61 74 63 |1 lwall|. * patc|
|000001b0| 68 31 31 3a 20 6d 69 6e | 69 6d 75 6d 20 6d 61 74 |h11: min|imum mat|
|000001c0| 63 68 20 6c 65 6e 67 74 | 68 20 63 61 6c 63 75 6c |ch lengt|h calcul|
|000001d0| 61 74 69 6f 6e 20 69 6e | 20 72 65 67 65 78 70 20 |ation in| regexp |
|000001e0| 69 73 20 6e 6f 77 20 63 | 75 6d 75 6c 61 74 69 76 |is now c|umulativ|
|000001f0| 65 0d 20 2a 20 70 61 74 | 63 68 31 31 3a 20 69 6e |e. * pat|ch11: in|
|00000200| 69 74 69 61 6c 20 2e 2a | 20 69 6e 20 70 61 74 74 |itial .*| in patt|
|00000210| 65 72 6e 20 68 61 64 20 | 64 65 70 65 6e 64 65 6e |ern had |dependen|
|00000220| 63 79 20 6f 6e 20 76 61 | 6c 75 65 20 6f 66 20 24 |cy on va|lue of $|
|00000230| 2a 0d 20 2a 20 0d 20 2a | 20 52 65 76 69 73 69 6f |*. * . *| Revisio|
|00000240| 6e 20 34 2e 30 2e 31 2e | 31 20 20 39 31 2f 30 36 |n 4.0.1.|1 91/06|
|00000250| 2f 30 37 20 20 31 31 3a | 35 31 3a 31 38 20 20 6c |/07 11:|51:18 l|
|00000260| 77 61 6c 6c 0d 20 2a 20 | 70 61 74 63 68 34 3a 20 |wall. * |patch4: |
|00000270| 6e 65 77 20 63 6f 70 79 | 72 69 67 68 74 20 6e 6f |new copy|right no|
|00000280| 74 69 63 65 0d 20 2a 20 | 70 61 74 63 68 34 3a 20 |tice. * |patch4: |
|00000290| 2f 2f 20 77 6f 75 6c 64 | 6e 27 74 20 75 73 65 20 |// would|n't use |
|000002a0| 70 72 65 76 69 6f 75 73 | 20 70 61 74 74 65 72 6e |previous| pattern|
|000002b0| 20 69 66 20 69 74 20 73 | 74 61 72 74 65 64 20 77 | if it s|tarted w|
|000002c0| 69 74 68 20 61 20 6e 75 | 6c 6c 20 63 68 61 72 61 |ith a nu|ll chara|
|000002d0| 63 74 65 72 0d 20 2a 20 | 70 61 74 63 68 34 3a 20 |cter. * |patch4: |
|000002e0| 24 60 20 77 61 73 20 62 | 75 73 74 65 64 20 69 6e |$` was b|usted in|
|000002f0| 73 69 64 65 20 73 2f 2f | 2f 0d 20 2a 20 0d 20 2a |side s//|/. * . *|
|00000300| 20 52 65 76 69 73 69 6f | 6e 20 34 2e 30 20 20 39 | Revisio|n 4.0 9|
|00000310| 31 2f 30 33 2f 32 30 20 | 20 30 31 3a 33 39 3a 32 |1/03/20 | 01:39:2|
|00000320| 33 20 20 6c 77 61 6c 6c | 0d 20 2a 20 34 2e 30 20 |3 lwall|. * 4.0 |
|00000330| 62 61 73 65 6c 69 6e 65 | 2e 0d 20 2a 20 0d 20 2a |baseline|.. * . *|
|00000340| 2f 0d 0d 74 79 70 65 64 | 65 66 20 73 74 72 75 63 |/..typed|ef struc|
|00000350| 74 20 72 65 67 65 78 70 | 20 7b 0d 09 63 68 61 72 |t regexp| {..char|
|00000360| 20 2a 2a 73 74 61 72 74 | 70 3b 0d 09 63 68 61 72 | **start|p;..char|
|00000370| 20 2a 2a 65 6e 64 70 3b | 0d 09 53 54 52 20 2a 72 | **endp;|..STR *r|
|00000380| 65 67 73 74 61 72 74 3b | 09 09 2f 2a 20 49 6e 74 |egstart;|../* Int|
|00000390| 65 72 6e 61 6c 20 75 73 | 65 20 6f 6e 6c 79 2e 20 |ernal us|e only. |
|000003a0| 2a 2f 0d 09 63 68 61 72 | 20 2a 72 65 67 73 74 63 |*/..char| *regstc|
|000003b0| 6c 61 73 73 3b 0d 09 53 | 54 52 20 2a 72 65 67 6d |lass;..S|TR *regm|
|000003c0| 75 73 74 3b 09 09 2f 2a | 20 49 6e 74 65 72 6e 61 |ust;../*| Interna|
|000003d0| 6c 20 75 73 65 20 6f 6e | 6c 79 2e 20 2a 2f 0d 09 |l use on|ly. */..|
|000003e0| 69 6e 74 20 72 65 67 62 | 61 63 6b 3b 09 09 2f 2a |int regb|ack;../*|
|000003f0| 20 43 61 6e 20 72 65 67 | 6d 75 73 74 20 6c 6f 63 | Can reg|must loc|
|00000400| 61 74 65 20 66 69 72 73 | 74 20 74 72 79 3f 20 2a |ate firs|t try? *|
|00000410| 2f 0d 09 69 6e 74 20 6d | 69 6e 6c 65 6e 3b 09 09 |/..int m|inlen;..|
|00000420| 2f 2a 20 6d 69 6e 69 6e | 75 6d 20 70 6f 73 73 69 |/* minin|um possi|
|00000430| 62 6c 65 20 6c 65 6e 67 | 74 68 20 6f 66 20 24 26 |ble leng|th of $&|
|00000440| 20 2a 2f 0d 09 69 6e 74 | 20 70 72 65 6c 65 6e 3b | */..int| prelen;|
|00000450| 09 09 2f 2a 20 6c 65 6e | 67 74 68 20 6f 66 20 70 |../* len|gth of p|
|00000460| 72 65 63 6f 6d 70 20 2a | 2f 0d 09 63 68 61 72 20 |recomp *|/..char |
|00000470| 2a 70 72 65 63 6f 6d 70 | 3b 09 09 2f 2a 20 70 72 |*precomp|;../* pr|
|00000480| 65 2d 63 6f 6d 70 69 6c | 61 74 69 6f 6e 20 72 65 |e-compil|ation re|
|00000490| 67 75 6c 61 72 20 65 78 | 70 72 65 73 73 69 6f 6e |gular ex|pression|
|000004a0| 20 2a 2f 0d 09 63 68 61 | 72 20 2a 73 75 62 62 61 | */..cha|r *subba|
|000004b0| 73 65 3b 09 09 2f 2a 20 | 73 61 76 65 64 20 73 74 |se;../* |saved st|
|000004c0| 72 69 6e 67 20 73 6f 20 | 5c 64 69 67 69 74 20 77 |ring so |\digit w|
|000004d0| 6f 72 6b 73 20 66 6f 72 | 65 76 65 72 20 2a 2f 0d |orks for|ever */.|
|000004e0| 09 63 68 61 72 20 2a 73 | 75 62 62 65 67 3b 09 09 |.char *s|ubbeg;..|
|000004f0| 2f 2a 20 73 61 6d 65 2c | 20 62 75 74 20 6e 6f 74 |/* same,| but not|
|00000500| 20 72 65 73 70 6f 6e 73 | 69 62 6c 65 20 66 6f 72 | respons|ible for|
|00000510| 20 61 6c 6c 6f 63 61 74 | 69 6f 6e 20 2a 2f 0d 09 | allocat|ion */..|
|00000520| 63 68 61 72 20 2a 73 75 | 62 65 6e 64 3b 09 09 2f |char *su|bend;../|
|00000530| 2a 20 65 6e 64 20 6f 66 | 20 73 75 62 62 61 73 65 |* end of| subbase|
|00000540| 20 2a 2f 0d 09 63 68 61 | 72 20 72 65 67 61 6e 63 | */..cha|r reganc|
|00000550| 68 3b 09 09 2f 2a 20 49 | 6e 74 65 72 6e 61 6c 20 |h;../* I|nternal |
|00000560| 75 73 65 20 6f 6e 6c 79 | 2e 20 2a 2f 0d 09 63 68 |use only|. */..ch|
|00000570| 61 72 20 64 6f 5f 66 6f | 6c 64 69 6e 67 3b 09 2f |ar do_fo|lding;./|
|00000580| 2a 20 64 6f 20 63 61 73 | 65 2d 69 6e 73 65 6e 73 |* do cas|e-insens|
|00000590| 69 74 69 76 65 20 6d 61 | 74 63 68 3f 20 2a 2f 0d |itive ma|tch? */.|
|000005a0| 09 63 68 61 72 20 6c 61 | 73 74 70 61 72 65 6e 3b |.char la|stparen;|
|000005b0| 09 09 2f 2a 20 6c 61 73 | 74 20 70 61 72 65 6e 20 |../* las|t paren |
|000005c0| 6d 61 74 63 68 65 64 20 | 2a 2f 0d 09 63 68 61 72 |matched |*/..char|
|000005d0| 20 6e 70 61 72 65 6e 73 | 3b 09 09 2f 2a 20 6e 75 | nparens|;../* nu|
|000005e0| 6d 62 65 72 20 6f 66 20 | 70 61 72 65 6e 74 68 65 |mber of |parenthe|
|000005f0| 73 65 73 20 2a 2f 0d 09 | 63 68 61 72 20 70 72 6f |ses */..|char pro|
|00000600| 67 72 61 6d 5b 31 5d 3b | 09 2f 2a 20 55 6e 77 61 |gram[1];|./* Unwa|
|00000610| 72 72 61 6e 74 65 64 20 | 63 68 75 6d 6d 69 6e 65 |rranted |chummine|
|00000620| 73 73 20 77 69 74 68 20 | 63 6f 6d 70 69 6c 65 72 |ss with |compiler|
|00000630| 2e 20 2a 2f 0d 7d 20 72 | 65 67 65 78 70 3b 0d 0d |. */.} r|egexp;..|
|00000640| 23 64 65 66 69 6e 65 20 | 52 4f 50 54 5f 41 4e 43 |#define |ROPT_ANC|
|00000650| 48 20 31 0d 23 64 65 66 | 69 6e 65 20 52 4f 50 54 |H 1.#def|ine ROPT|
|00000660| 5f 53 4b 49 50 20 32 0d | 23 64 65 66 69 6e 65 20 |_SKIP 2.|#define |
|00000670| 52 4f 50 54 5f 49 4d 50 | 4c 49 43 49 54 20 34 0d |ROPT_IMP|LICIT 4.|
|00000680| 0d 72 65 67 65 78 70 20 | 2a 72 65 67 63 6f 6d 70 |.regexp |*regcomp|
|00000690| 28 29 3b 0d 69 6e 74 20 | 72 65 67 65 78 65 63 28 |();.int |regexec(|
|000006a0| 29 3b 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |);......|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 01 00 00 00 01 67 | 00 00 00 67 00 00 00 3c |.......g|...g...<|
|00000710| 6d 65 6e 74 3a 50 65 72 | 6c 3a 63 6f 6e 73 2e 63 |ment:Per|l:cons.c|
|00000720| 0d 45 58 54 4d 50 53 20 | 01 00 01 00 00 80 00 00 |.EXTMPS |........|
|00000730| 08 72 65 67 65 78 70 2e | 68 00 02 00 00 00 54 45 |.regexp.|h.....TE|
|00000740| 58 54 00 00 00 00 00 00 | 02 a4 00 00 00 00 00 00 |XT......|........|
|00000750| 00 00 54 45 58 54 00 00 | 00 00 00 00 02 a4 00 00 |..TEXT..|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 a5 8c 0b 90 00 00 | 06 23 00 00 01 a3 00 00 |........|.#......|
|00000780| 00 00 0a 00 00 01 12 3d | 04 47 61 77 6b 80 02 00 |.......=|.Gawk...|
|00000790| 00 00 4d 50 53 54 4d 50 | 53 20 01 00 01 00 00 c0 |..MPSTMP|S ......|
|000007a0| 00 00 00 01 2c 94 00 00 | 00 00 00 00 00 00 00 00 |....,...|........|
|000007b0| 00 00 00 01 c0 c8 00 01 | c4 00 a4 76 8f 19 a4 76 |........|...v...v|
|000007c0| 96 b5 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 6d 1a 00 01 | 6d 48 00 0c 74 df 00 38 |....m...|mH..t..8|
|000007f0| 00 00 00 00 00 00 00 00 | 0c 00 00 01 12 3d 06 67 |........|.....=.g|
|00000800| 00 00 00 63 66 18 22 2f | 3f e5 32 30 00 04 00 00 |...cf."/|?.20....|
|00000810| 00 00 00 00 00 00 a5 b2 | 22 af a5 8c 0b 91 a5 b2 |........|".......|
|00000820| 21 a8 00 09 0e f1 00 01 | 00 2e 00 01 05 50 65 72 |!.......|.....Per|
|00000830| 6c ba 00 08 4d 61 74 74 | 68 69 61 73 00 01 31 00 |l...Matt|hias..1.|
|00000840| 08 72 65 67 65 78 70 2e | 68 00 00 00 00 18 49 6e |.regexp.|h.....In|
|00000850| 69 74 69 61 6c 20 43 68 | 65 63 6b 69 6e 20 2d 3e |itial Ch|eckin ->|
|00000860| 20 34 2e 30 2e 32 00 00 | 00 01 00 00 00 01 67 00 | 4.0.2..|......g.|
|00000870| 00 00 67 00 00 00 3c 00 | 2b 7f 3c 0c 7e 00 00 00 |..g...<.|+.<.~...|
|00000880| 1c 00 32 00 00 63 6b 69 | 64 00 00 00 0a 00 80 00 |..2..cki|d.......|
|00000890| 00 00 00 00 00 00 31 8a | e0 09 50 72 6f 6a 65 63 |......1.|..Projec|
|000008a0| 74 6f 72 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |tor.....|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+