summaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-06-06 20:40:20 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-06-06 20:40:20 -0700
commitf91a1c23bc13b93b9e084173b2377d6124c6469a (patch)
tree33c60d47fb74f5995cc187918e7dee2e8ddfb79f /regex.c
parent5dffff93f936726ec2736c5c0525883ea08b7c92 (diff)
downloadtxr-f91a1c23bc13b93b9e084173b2377d6124c6469a.tar.gz
txr-f91a1c23bc13b93b9e084173b2377d6124c6469a.tar.bz2
txr-f91a1c23bc13b93b9e084173b2377d6124c6469a.zip
Handle sequence better in index list case of replace.
* lib.c (replace_list): Simplify treatment of items on entry using toseq. (replace_str, replace_vec): When a list or vector of indices is given, use the itseq result of passing items items through toseq function rather than original items, for consistency with range assignment.
Diffstat (limited to 'regex.c')
0 files changed, 0 insertions, 0 deletions