|
10 | 10 | }, |
11 | 11 | { |
12 | 12 | "cell_type": "code", |
13 | | - "execution_count": 2, |
| 13 | + "execution_count": 1, |
14 | 14 | "id": "565ac98b-4f9e-4fd7-b23d-7bddcf2dd60a", |
15 | 15 | "metadata": {}, |
16 | 16 | "outputs": [], |
17 | 17 | "source": [ |
18 | | - "from list_urls import find_urls\n" |
| 18 | + "from list_urls import find_urls" |
19 | 19 | ] |
20 | 20 | }, |
21 | 21 | { |
22 | 22 | "cell_type": "code", |
23 | | - "execution_count": 9, |
| 23 | + "execution_count": 29, |
24 | 24 | "id": "0f2ce1b8-1c45-41a0-9f38-675e6912d805", |
25 | 25 | "metadata": {}, |
26 | 26 | "outputs": [ |
27 | 27 | { |
28 | 28 | "name": "stdout", |
29 | 29 | "output_type": "stream", |
30 | 30 | "text": [ |
31 | | - "= /a3\thttps://docs.python.org/3/library/sqlite3.html#using-the-connection-as-a-context-manager\n", |
32 | | - "= /9q\thttps://docs.python.org/pt-br/3/library/threading.html#using-locks-conditions-and-semaphores-in-the-with-statement\n", |
33 | | - "= /9r\thttps://docs.python.org/pt-br/3/library/decimal.html#decimal.localcontext\n", |
34 | | - "= /9s\thttps://docs.python.org/pt-br/3/library/unittest.mock.html#patch\n", |
35 | | - "= /9t\thttps://docs.python.org/pt-br/3/library/contextlib.html\n", |
36 | | - "= /9v\thttps://docs.python.org/pt-br/3/library/fileinput.html#fileinput.input\n", |
37 | | - "= /9w\thttps://pt.wikipedia.org/wiki/Algoritmo_de_Euclides\n", |
38 | | - "= /9x\thttps://docs.python.org/pt-br/3/reference/compound_stmts.html\n", |
39 | | - "= /9y\thttps://docs.python.org/pt-br/3/glossary.html#term-eafp\n", |
40 | | - "= /9x\thttps://docs.python.org/pt-br/3/reference/compound_stmts.html\n", |
41 | | - "= /9z\thttps://docs.python.org/pt-br/3/library/stdtypes.html#typecontextmanager\n", |
42 | | - "= /a2\thttps://pt.wikipedia.org/wiki/Recursividade_(ci%C3%AAncia_da_computa%C3%A7%C3%A3o)#Fun%C3%A7%C3%B5es_recursivas_em_cauda\n" |
| 31 | + "= /bt\thttps://docs.python.org/pt-br/3/library/stdtypes.html#special-attributes\n", |
| 32 | + "+ /bx\thttps://docs.python.org/pt-br/3/reference/datamodel.html#creating-the-class-object\n", |
| 33 | + "= /2j\thttps://docs.python.org/pt-br/3/reference/datamodel.html\n", |
| 34 | + "+ /by\thttps://docs.python.org/pt-br/3/reference/datamodel.html#customizing-class-creation\n", |
| 35 | + "+ /bz\thttps://docs.python.org/pt-br/3/library/types.html\n", |
| 36 | + "= /7q\thttps://docs.python.org/pt-br/3/library/functools.html#functools.total_ordering\n" |
43 | 37 | ] |
44 | 38 | }, |
45 | 39 | { |
46 | 40 | "name": "stderr", |
47 | 41 | "output_type": "stream", |
48 | 42 | "text": [ |
49 | | - "0 directives appended to FPY.LI.htaccess\n" |
| 43 | + "3 directives appended to FPY.LI.htaccess\n" |
50 | 44 | ] |
51 | 45 | } |
52 | 46 | ], |
53 | 47 | "source": [ |
54 | | - "CAP = 18\n", |
| 48 | + "CAP = 25\n", |
55 | 49 | "\n", |
56 | 50 | "adoc_path = f'../online/cap{CAP}.adoc'\n", |
57 | 51 | "\n", |
|
68 | 62 | }, |
69 | 63 | { |
70 | 64 | "cell_type": "code", |
71 | | - "execution_count": 10, |
| 65 | + "execution_count": 30, |
72 | 66 | "id": "37c13b84-c4a4-4295-8987-205c8da7a2e5", |
73 | 67 | "metadata": {}, |
74 | 68 | "outputs": [ |
75 | 69 | { |
76 | 70 | "name": "stdout", |
77 | 71 | "output_type": "stream", |
78 | 72 | "text": [ |
79 | | - "= /a3\thttps://docs.python.org/3/library/sqlite3.html#using-the-connection-as-a-context-manager\n", |
80 | | - "= /9q\thttps://docs.python.org/pt-br/3/library/threading.html#using-locks-conditions-and-semaphores-in-the-with-statement\n", |
81 | | - "= /9r\thttps://docs.python.org/pt-br/3/library/decimal.html#decimal.localcontext\n", |
82 | | - "= /9s\thttps://docs.python.org/pt-br/3/library/unittest.mock.html#patch\n", |
83 | | - "= /9t\thttps://docs.python.org/pt-br/3/library/contextlib.html\n", |
84 | | - "= /9v\thttps://docs.python.org/pt-br/3/library/fileinput.html#fileinput.input\n", |
85 | | - "= /9w\thttps://pt.wikipedia.org/wiki/Algoritmo_de_Euclides\n", |
86 | | - "= /9x\thttps://docs.python.org/pt-br/3/reference/compound_stmts.html\n", |
87 | | - "= /9y\thttps://docs.python.org/pt-br/3/glossary.html#term-eafp\n", |
88 | | - "= /9x\thttps://docs.python.org/pt-br/3/reference/compound_stmts.html\n", |
89 | | - "= /9z\thttps://docs.python.org/pt-br/3/library/stdtypes.html#typecontextmanager\n", |
90 | | - "= /a2\thttps://pt.wikipedia.org/wiki/Recursividade_(ci%C3%AAncia_da_computa%C3%A7%C3%A3o)#Fun%C3%A7%C3%B5es_recursivas_em_cauda\n" |
| 73 | + "= /bt\thttps://docs.python.org/pt-br/3/library/stdtypes.html#special-attributes\n", |
| 74 | + "+ /bx\thttps://docs.python.org/pt-br/3/reference/datamodel.html#creating-the-class-object\n", |
| 75 | + "= /2j\thttps://docs.python.org/pt-br/3/reference/datamodel.html\n", |
| 76 | + "+ /by\thttps://docs.python.org/pt-br/3/reference/datamodel.html#customizing-class-creation\n", |
| 77 | + "+ /bz\thttps://docs.python.org/pt-br/3/library/types.html\n", |
| 78 | + "= /7q\thttps://docs.python.org/pt-br/3/library/functools.html#functools.total_ordering\n" |
91 | 79 | ] |
92 | 80 | } |
93 | 81 | ], |
|
98 | 86 | }, |
99 | 87 | { |
100 | 88 | "cell_type": "code", |
101 | | - "execution_count": 11, |
| 89 | + "execution_count": 31, |
102 | 90 | "id": "25b20f6b-471f-4a14-bdd0-22eb21627962", |
103 | 91 | "metadata": {}, |
104 | 92 | "outputs": [ |
105 | 93 | { |
106 | 94 | "name": "stdout", |
107 | 95 | "output_type": "stream", |
108 | 96 | "text": [ |
109 | | - "/a3 https://docs.python.org/3/library/sqlite3.html#using-the-connection-as-a-context-manager\n", |
110 | | - "/9q https://docs.python.org/pt-br/3/library/threading.html#using-locks-conditions-and-semaphores-in-the-with-statement\n", |
111 | | - "/9r https://docs.python.org/pt-br/3/library/decimal.html#decimal.localcontext\n", |
112 | | - "/9s https://docs.python.org/pt-br/3/library/unittest.mock.html#patch\n", |
113 | | - "/9t https://docs.python.org/pt-br/3/library/contextlib.html\n", |
114 | | - "/9v https://docs.python.org/pt-br/3/library/fileinput.html#fileinput.input\n", |
115 | | - "/9w https://pt.wikipedia.org/wiki/Algoritmo_de_Euclides\n", |
116 | | - "/9x https://docs.python.org/pt-br/3/reference/compound_stmts.html\n", |
117 | | - "/9y https://docs.python.org/pt-br/3/glossary.html#term-eafp\n", |
118 | | - "/9z https://docs.python.org/pt-br/3/library/stdtypes.html#typecontextmanager\n", |
119 | | - "/a2 https://pt.wikipedia.org/wiki/Recursividade_(ci%C3%AAncia_da_computa%C3%A7%C3%A3o)#Fun%C3%A7%C3%B5es_recursivas_em_cauda\n" |
| 97 | + "/bt https://docs.python.org/pt-br/3/library/stdtypes.html#special-attributes\n", |
| 98 | + "/bx https://docs.python.org/pt-br/3/reference/datamodel.html#creating-the-class-object\n", |
| 99 | + "/2j https://docs.python.org/pt-br/3/reference/datamodel.html\n", |
| 100 | + "/by https://docs.python.org/pt-br/3/reference/datamodel.html#customizing-class-creation\n", |
| 101 | + "/bz https://docs.python.org/pt-br/3/library/types.html\n", |
| 102 | + "/7q https://docs.python.org/pt-br/3/library/functools.html#functools.total_ordering\n" |
120 | 103 | ] |
121 | 104 | } |
122 | 105 | ], |
|
130 | 113 | "\n" |
131 | 114 | ] |
132 | 115 | }, |
133 | | - { |
134 | | - "cell_type": "code", |
135 | | - "execution_count": 6, |
136 | | - "id": "a66fdca6-e1df-4b1d-8971-1baae54cb9ed", |
137 | | - "metadata": {}, |
138 | | - "outputs": [], |
139 | | - "source": [ |
140 | | - "!grep 'https://(?!f[^./]*\\.)[a-zA-Z0-9.-]+[^/]*' ../online/cap17.adoc # não está funcionando!" |
141 | | - ] |
142 | | - }, |
143 | 116 | { |
144 | 117 | "cell_type": "markdown", |
145 | 118 | "id": "0eac9caf-6793-41c4-8fa3-4f3511c1d515", |
|
150 | 123 | "```https://(?!f[^.]+\\.)[^/]+```" |
151 | 124 | ] |
152 | 125 | }, |
| 126 | + { |
| 127 | + "cell_type": "code", |
| 128 | + "execution_count": 37, |
| 129 | + "id": "a66fdca6-e1df-4b1d-8971-1baae54cb9ed", |
| 130 | + "metadata": {}, |
| 131 | + "outputs": [], |
| 132 | + "source": [ |
| 133 | + "!rg --pcre2 'https://(?!f[^.]+\\.)[^/]+' ../online/cap24.adoc" |
| 134 | + ] |
| 135 | + }, |
153 | 136 | { |
154 | 137 | "cell_type": "code", |
155 | 138 | "execution_count": null, |
|
0 commit comments