diff options
author | chris <chris@jalakai.co.uk> | 2006-03-03 11:00:06 +0100 |
---|---|---|
committer | chris <chris@jalakai.co.uk> | 2006-03-03 11:00:06 +0100 |
commit | 46b38c473e0a9bc93adeeb514dc36ec117f5cfa5 (patch) | |
tree | 9200884209aca9d85cb20f18fd6471f5220cf051 | |
parent | fa3fcd9ba1c888d61846546869043c0db8d92425 (diff) | |
download | rpg-46b38c473e0a9bc93adeeb514dc36ec117f5cfa5.tar.gz rpg-46b38c473e0a9bc93adeeb514dc36ec117f5cfa5.tar.bz2 |
lexer fix, change order of escaping . & \
darcs-hash:20060303100006-9b6ab-2598a779d472cd48c1a06801871a45fef09f90bf.gz
-rw-r--r-- | inc/parser/lexer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/lexer.php b/inc/parser/lexer.php index e764fa236..9c109f9bb 100644 --- a/inc/parser/lexer.php +++ b/inc/parser/lexer.php @@ -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( - '\.', '\\\\\\\\', + '\.', '\+', '\*', '\?', |