Code: Select all
(dotimes (x 10)
(set 't {this is some text I think})
(replace {(th).*(so).*(xt).*(nk)} t (for (n 1 15) (if ($ n) (print { $} n { } ($ n)))) 0)
(println)
(set 't {that was some text for sure})
(replace {(th).*(so).*(xt).*} t (for (n 1 15) (if ($ n) (print { $} n { } ($ n)))) 0)
(println)
)
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
$1 th $2 so $3 xt $4 nk
What am I doing wrong this time? -)