]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/regexp/regexp.factor
Rename accumulator to collector, pusher to selector
[factor.git] / basis / regexp / regexp.factor
index e9a86516cacda4de84ae629e9e30903bccb219aa..0b387acd2a9e88658252b606235541fee77a0701 100644 (file)
@@ -84,7 +84,7 @@ PRIVATE>
     [ prepare-match-iterator ] dip (each-match) ; inline
 
 : map-matches ( string regexp quot: ( start end string -- obj ) -- seq )
-    accumulator [ each-match ] dip >array ; inline
+    collector [ each-match ] dip >array ; inline
 
 : all-matching-slices ( string regexp -- seq )
     [ slice boa ] map-matches ;