fork download
  1. USING: io kernel regexp.private sequences ;
  2. IN: regexp
  3. : re-replace ( string regexp replacement -- result )
  4. [ [ subseq ] (re-split) ] dip join ;
  5.  
  6. readln string>string
  7. regexp
Runtime error #stdin #stdout 0.31s 162560KB
stdin
1f3g4h
stdout
./prog.factor

6: readln string>string
                       ^
No word named “string>string” found in current vocabulary search path