Fix bug in apply-match
This commit is contained in:
parent
0615af1821
commit
c5ece08691
1 changed files with 2 additions and 2 deletions
|
|
@ -9,12 +9,12 @@
|
|||
.apply-match(@map; @search; @current; @ruleset; 1);
|
||||
}
|
||||
|
||||
.apply-match(@map; @search; @current; @ruleset; @i) when not (@search = @current) and (@i <= length(@spacer-map)) {
|
||||
.apply-match(@map; @search; @current; @ruleset; @i) when not (@search = @current) and (@i <= length(@map)) {
|
||||
@current: extract(extract(@map, @i + 1), 1);
|
||||
.apply-match(@map; @search; @current; @ruleset; @i + 1);
|
||||
}
|
||||
|
||||
.apply-match(@map; @search; @current; @ruleset; @i) when (@search = @current) and (@i <= length(@spacer-map)) {
|
||||
.apply-match(@map; @search; @current; @ruleset; @i) when (@search = @current) and (@i <= length(@map)) {
|
||||
& {
|
||||
@__match: extract(extract(@map, @i), 2);
|
||||
@ruleset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue