aboutsummaryrefslogtreecommitdiff
path: root/libs/regex.neb
diff options
context:
space:
mode:
authormryouse2022-07-29 20:04:52 +0000
committermryouse2022-07-29 20:04:52 +0000
commit85298ce8bf9ce54da5d0918c9267e59431acd3ee (patch)
treeebbbbb808a55ae228b1b9e13bce4c39a819e1c32 /libs/regex.neb
parent846a360468eb5d0511e86f238a48f3c26cb664a9 (diff)
for-count now uses _idx_ instead of idx
Diffstat (limited to 'libs/regex.neb')
-rw-r--r--libs/regex.neb2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/regex.neb b/libs/regex.neb
index af36830..33e2b55 100644
--- a/libs/regex.neb
+++ b/libs/regex.neb
@@ -44,7 +44,7 @@
(block
(def seed (list))
(for-count (length text)
- (redef seed (append seed idx)))
+ (redef seed (append seed _idx_)))
(not (empty? (drop-while seed
(not (.match-inner pattern (join (slice (split text) _item_) "")))))))))