summaryrefslogtreecommitdiff
path: root/inc/parser/lexer.php
diff options
context:
space:
mode:
authorchris <chris@jalakai.co.uk>2006-03-03 11:00:06 +0100
committerchris <chris@jalakai.co.uk>2006-03-03 11:00:06 +0100
commit46b38c473e0a9bc93adeeb514dc36ec117f5cfa5 (patch)
tree9200884209aca9d85cb20f18fd6471f5220cf051 /inc/parser/lexer.php
parentfa3fcd9ba1c888d61846546869043c0db8d92425 (diff)
downloadrpg-46b38c473e0a9bc93adeeb514dc36ec117f5cfa5.tar.gz
rpg-46b38c473e0a9bc93adeeb514dc36ec117f5cfa5.tar.bz2
lexer fix, change order of escaping . & \
darcs-hash:20060303100006-9b6ab-2598a779d472cd48c1a06801871a45fef09f90bf.gz
Diffstat (limited to 'inc/parser/lexer.php')
-rw-r--r--inc/parser/lexer.php4
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(
- '\.',
'\\\\\\\\',
+ '\.',
'\+',
'\*',
'\?',