Wrong %% debug
parent
86506737c4
commit
c1efa68b98
|
@ -417,13 +417,9 @@ sub compile
|
|||
|
||||
# "первая замена"
|
||||
$code =~
|
||||
s%
|
||||
(?>\%+)[ \t]*\S+[^\n]*?(?>\%+) |
|
||||
(?>\%+) |
|
||||
\{[a-z0-9\-_]+\.\#\} |
|
||||
\{((?:[a-z0-9\-_]+\.)*)([a-z0-9\-_]+)((?:->[a-z0-9\-_]+)*)(?:\/([a-z0-9\-_]+))?\}
|
||||
% $self->generate_xx_ref($&,$1,$2,$3,$4)
|
||||
%goisex;
|
||||
s%(?>\%+) *\w+[\w ]*?(?>\%+)|(?>\%+)|\{[a-z0-9\-_]+\.\#\}|\{((?:[a-z0-9\-_]+\.)*)([a-z0-9\-_]+)((?:->[a-z0-9\-_]+)*)(?:\/([a-z0-9\-_]+))?\}%
|
||||
$self->generate_xx_ref($&,$1,$2,$3,$4)
|
||||
%goise;
|
||||
|
||||
# \n -> \n\x01
|
||||
$code =~ s/\n/\n\x01/gos;
|
||||
|
|
Loading…
Reference in New Issue