Artifact
88c03b544029127c9c6b8bdbe75450e0bfd5f999493dfb79616a0d1656880aea:
Manifest of check-in
[88c03b5440]
- Main loop reworked. With regexp support there could be possibilities of passing x level domain on regexp fail and not looking into x-1 level domain. Now all matches are selected from database ordered by domain level and checked until match is found.
by
c.kworr@d4daf22a-8aaf-11de-a64d-234b64dd91b4 on
2009-10-09 06:40:07.
0000: 43 20 4d 61 69 6e 5c 73 6c 6f 6f 70 5c 73 72 65 C Main\sloop\sre
0010: 77 6f 72 6b 65 64 2e 5c 73 57 69 74 68 5c 73 72 worked.\sWith\sr
0020: 65 67 65 78 70 5c 73 73 75 70 70 6f 72 74 5c 73 egexp\ssupport\s
0030: 74 68 65 72 65 5c 73 63 6f 75 6c 64 5c 73 62 65 there\scould\sbe
0040: 5c 73 70 6f 73 73 69 62 69 6c 69 74 69 65 73 5c \spossibilities\
0050: 73 6f 66 5c 73 70 61 73 73 69 6e 67 5c 73 78 5c sof\spassing\sx\
0060: 73 6c 65 76 65 6c 5c 73 64 6f 6d 61 69 6e 5c 73 slevel\sdomain\s
0070: 6f 6e 5c 73 72 65 67 65 78 70 5c 73 66 61 69 6c on\sregexp\sfail
0080: 5c 73 61 6e 64 5c 73 6e 6f 74 5c 73 6c 6f 6f 6b \sand\snot\slook
0090: 69 6e 67 5c 73 69 6e 74 6f 5c 73 78 2d 31 5c 73 ing\sinto\sx-1\s
00a0: 6c 65 76 65 6c 5c 73 64 6f 6d 61 69 6e 2e 5c 73 level\sdomain.\s
00b0: 4e 6f 77 5c 73 61 6c 6c 5c 73 6d 61 74 63 68 65 Now\sall\smatche
00c0: 73 5c 73 61 72 65 5c 73 73 65 6c 65 63 74 65 64 s\sare\sselected
00d0: 5c 73 66 72 6f 6d 5c 73 64 61 74 61 62 61 73 65 \sfrom\sdatabase
00e0: 5c 73 6f 72 64 65 72 65 64 5c 73 62 79 5c 73 64 \sordered\sby\sd
00f0: 6f 6d 61 69 6e 5c 73 6c 65 76 65 6c 5c 73 61 6e omain\slevel\san
0100: 64 5c 73 63 68 65 63 6b 65 64 5c 73 75 6e 74 69 d\schecked\sunti
0110: 6c 5c 73 6d 61 74 63 68 5c 73 69 73 5c 73 66 6f l\smatch\sis\sfo
0120: 75 6e 64 2e 0a 44 20 32 30 30 39 2d 31 30 2d 30 und..D 2009-10-0
0130: 39 54 30 36 3a 34 30 3a 30 37 0a 46 20 64 61 74 9T06:40:07.F dat
0140: 61 62 61 73 65 2e 73 71 6c 20 64 38 31 35 36 62 abase.sql d8156b
0150: 64 61 33 31 61 64 61 62 32 64 62 62 62 32 66 37 da31adab2dbbb2f7
0160: 62 38 32 35 63 64 36 35 62 31 34 33 35 62 35 65 b825cd65b1435b5e
0170: 30 36 37 64 36 39 32 31 30 64 37 34 61 38 30 37 067d69210d74a807
0180: 31 64 61 62 37 35 37 32 31 65 0a 46 20 72 65 61 1dab75721e.F rea
0190: 64 6d 65 2e 74 78 74 20 31 65 64 31 63 62 31 37 dme.txt 1ed1cb17
01a0: 39 33 65 30 65 62 32 65 63 39 35 30 64 38 35 63 93e0eb2ec950d85c
01b0: 34 38 35 32 64 31 39 32 30 64 31 32 61 31 64 36 4852d1920d12a1d6
01c0: 64 31 33 65 65 38 32 30 38 61 65 33 35 36 65 38 d13ee8208ae356e8
01d0: 66 35 61 33 38 39 66 39 0a 46 20 73 71 75 69 64 f5a389f9.F squid
01e0: 2d 74 61 67 67 65 72 2e 63 6f 6e 66 20 33 62 33 -tagger.conf 3b3
01f0: 38 33 38 39 61 36 30 36 35 65 66 66 39 64 38 66 8389a6065eff9d8f
0200: 34 65 62 62 30 34 65 66 61 31 38 35 38 32 61 30 4ebb04efa18582a0
0210: 61 36 38 61 65 32 32 35 65 39 37 65 35 34 63 35 a68ae225e97e54c5
0220: 30 64 34 63 33 64 35 35 61 36 34 62 62 0a 46 20 0d4c3d55a64bb.F
0230: 73 71 75 69 64 2d 74 61 67 67 65 72 2e 70 79 20 squid-tagger.py
0240: 30 63 66 65 36 36 33 32 31 61 64 66 64 34 61 39 0cfe66321adfd4a9
0250: 37 61 37 61 33 34 39 63 62 30 39 65 35 33 62 61 7a7a349cb09e53ba
0260: 35 61 33 39 66 30 39 33 33 32 33 38 61 32 39 63 5a39f0933238a29c
0270: 31 37 32 30 62 32 34 63 30 66 35 33 33 34 36 37 1720b24c0f533467
0280: 20 78 0a 50 20 33 33 65 37 32 36 31 36 63 39 36 x.P 33e72616c96
0290: 33 66 62 32 36 66 66 61 39 61 63 36 61 38 33 65 3fb26ffa9ac6a83e
02a0: 37 62 38 63 62 63 64 38 31 32 65 61 66 31 39 65 7b8cbcd812eaf19e
02b0: 32 64 35 34 32 32 39 61 38 30 66 33 31 30 64 33 2d54229a80f310d3
02c0: 65 63 35 62 35 0a 55 20 63 2e 6b 77 6f 72 72 40 ec5b5.U c.kworr@
02d0: 64 34 64 61 66 32 32 61 2d 38 61 61 66 2d 31 31 d4daf22a-8aaf-11
02e0: 64 65 2d 61 36 34 64 2d 32 33 34 62 36 34 64 64 de-a64d-234b64dd
02f0: 39 31 62 34 0a 5a 20 34 63 31 33 63 61 38 63 64 91b4.Z 4c13ca8cd
0300: 62 63 64 30 66 64 37 33 32 64 61 37 62 35 30 33 bcd0fd732da7b503
0310: 36 34 30 31 32 31 32 0a 6401212.