197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
|
(" —,", " –,", False, True)
],
"typo4a": [ # cadratin
("^-[ ]", "— ", True, True),
("^–[ ]", "— ", True, True),
("^— ", "— ", True, True),
("^«[ ][—–-][ ]", "« — ", True, True),
("^[-–—](?=[:alnum:])", "— ", True, False)
],
"typo4b": [ # demin-cadratin
("^-[ ]", "– ", True, True),
("^—[ ]", "– ", True, True),
("^– ", "– ", True, True),
("^«[ ][—–-][ ]", "« – ", True, True),
("^[-–—](?=[:alnum:])", "– ", True, False)
],
"typo5": [
('"([:alpha:]+)"', "“$1”", True, False),
("''([:alpha:]+)''", "“$1”", True, False),
("'([:alpha:]+)'", "“$1”", True, False),
('^"(?=[:alnum:])', "« ", True, False),
("^''(?=[:alnum:])", "« ", True, False),
|
|
>
|
>
|
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
|
(" —,", " –,", False, True)
],
"typo4a": [ # cadratin
("^-[ ]", "— ", True, True),
("^–[ ]", "— ", True, True),
("^— ", "— ", True, True),
("^«[ ][—–-][ ]", "« — ", True, True),
("^[-–—](?=[:alnum:])", "— ", True, False),
("^[-–—](?=[.…])", "— ", True, True)
],
"typo4b": [ # demin-cadratin
("^-[ ]", "– ", True, True),
("^—[ ]", "– ", True, True),
("^– ", "– ", True, True),
("^«[ ][—–-][ ]", "« – ", True, True),
("^[-–—](?=[:alnum:])", "– ", True, False),
("^[-–—](?=[.…])", "– ", True, True)
],
"typo5": [
('"([:alpha:]+)"', "“$1”", True, False),
("''([:alpha:]+)''", "“$1”", True, False),
("'([:alpha:]+)'", "“$1”", True, False),
('^"(?=[:alnum:])', "« ", True, False),
("^''(?=[:alnum:])", "« ", True, False),
|