Файловый менеджер - Редактировать - /var/www/jonas-eriksen.dk/pic/private/Quotes.php.tar
Назад
var/www/jonas-eriksen.dk/wiki/inc/Parsing/ParserMode/Quotes.php 0000644 00000002261 15233612726 0020506 0 ustar 00 <?php namespace dokuwiki\Parsing\ParserMode; class Quotes extends AbstractMode { /** @inheritdoc */ public function connectTo($mode) { global $conf; $ws = '\s/\#~:+=&%@\-\x28\x29\]\[{}><"\''; // whitespace $punc = ';,\.?!'; if ($conf['typography'] == 2) { $this->Lexer->addSpecialPattern( "(?<=^|[$ws])'(?=[^$ws$punc])", $mode, 'singlequoteopening' ); $this->Lexer->addSpecialPattern( "(?<=^|[^$ws]|[$punc])'(?=$|[$ws$punc])", $mode, 'singlequoteclosing' ); $this->Lexer->addSpecialPattern( "(?<=^|[^$ws$punc])'(?=$|[^$ws$punc])", $mode, 'apostrophe' ); } $this->Lexer->addSpecialPattern( "(?<=^|[$ws])\"(?=[^$ws$punc])", $mode, 'doublequoteopening' ); $this->Lexer->addSpecialPattern( "\"", $mode, 'doublequoteclosing' ); } /** @inheritdoc */ public function getSort() { return 280; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка