ajout de la partie slam dans le dossier web
This commit is contained in:
		
							
								
								
									
										27
									
								
								ap23/web/doku/inc/Parsing/ParserMode/Multiplyentity.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								ap23/web/doku/inc/Parsing/ParserMode/Multiplyentity.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| <?php | ||||
|  | ||||
| namespace dokuwiki\Parsing\ParserMode; | ||||
|  | ||||
| /** | ||||
|  * Implements the 640x480 replacement | ||||
|  */ | ||||
| class Multiplyentity extends AbstractMode | ||||
| { | ||||
|  | ||||
|     /** @inheritdoc */ | ||||
|     public function connectTo($mode) | ||||
|     { | ||||
|  | ||||
|         $this->Lexer->addSpecialPattern( | ||||
|             '(?<=\b)(?:[1-9]|\d{2,})[xX]\d+(?=\b)', | ||||
|             $mode, | ||||
|             'multiplyentity' | ||||
|         ); | ||||
|     } | ||||
|  | ||||
|     /** @inheritdoc */ | ||||
|     public function getSort() | ||||
|     { | ||||
|         return 270; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user