Lines Matching +full:restore +full:- +full:keys

5  * @license  GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
7 * @created Tue, 01 jul 2025 15:06:42 -0300
24 * - Escaped pipes restored (`%%TEMP_PIPE%%` → `%%|%%`)
25 * - Whitespace trimmed from both ends
26 * - Empty strings preserved as valid parameters
51 // 3) Restore escaped pipes
64 * - Explicit value cases (`case = value`)
65 * - Fallthrough behavior (cases without values inherit the last defined value)
66 * - Both explicit (`#default = value`) and implicit default values (last parameter)
67 * - Whitespace normalization (trim) for all keys and values
68 * - Escaped equals signs (`%%=%%`) in values
71 * - First element: The test value to compare against cases
72 * - Subsequent elements: Cases in format "case = value" or fallthrough/default markers
75 * - 'cases': Associative array of [case => value] pairs
76 * - 'test': Normalized test value (with whitespace trimmed)
77 * - 'default': The default value (either explicit #default or last parameter)
96 * @note All case keys and test values are trimmed of whitespace
124 $cases[trim($parts[0])] = $lastValue; // Fallthrough - uses last defined value
140 * - Absolute or relative filesystem paths
141 * - DokuWiki page/media IDs (e.g. "wiki:start", "wiki:image.png")
142 * - DokuWiki namespaces (must end with a colon, e.g. "wiki:")
189 * https://www.freeformatter.com/html-entities.html
191 * Before 2025-01-18, escape sequences had to use "&#NUMBER;" instead of
194 * After 2025-01-18, the "#" can be typed directly, and does not need to be
198 * Additionally, after 2025-01-18, '=', '|', '{' and '}' signs can be
227 $errorMsg = '**' . $this->getLang('error') . ' ' . $function . ': '
228 . $this->getLang($messageKey) . '**';
249 \+|\-|\*|\/|%| # Arithmetic
252 … [0-9]+(\.[0-9]+)?([eE][\+\-]?[0-9]+)? # Numbers with period and exponent
255 return $this->formatError('alert', $funcName, 'invalid_expression');
267 return $this->formatError('alert', $funcName, 'undefined_result');
273 return $this->formatError('alert', $funcName, 'evaluation_error');