Skip to content
Snippets Groups Projects
Commit 46b38c47 authored by chris's avatar chris
Browse files

lexer fix, change order of escaping . & \

darcs-hash:20060303100006-9b6ab-2598a779d472cd48c1a06801871a45fef09f90bf.gz
parent fa3fcd9b
No related branches found
No related tags found
No related merge requests found
......@@ -549,8 +549,8 @@ class Doku_Lexer {
function Doku_Lexer_Escape($str) {
//$str = addslashes($str);
$chars = array(
'/\./',
'/\\\\/',
'/\./',
'/\+/',
'/\*/',
'/\?/',
......@@ -569,8 +569,8 @@ function Doku_Lexer_Escape($str) {
);
$escaped = array(
'\.',
'\\\\\\\\',
'\.',
'\+',
'\*',
'\?',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment