update
This commit is contained in:
parent
1e6bc31f97
commit
6140f46fa4
@ -28,12 +28,12 @@ int main(const int argc,const char *argv[]){
|
||||
}
|
||||
for(auto i: zt::Range((size_t)0,argv1.size())){
|
||||
if(argv1[i]==be_replaced[0]){
|
||||
for(auto j: zt::Range((size_t)0,be_replaced.size())){
|
||||
for(auto j: zt::Range(be_replaced.size())){
|
||||
if(argv1[i+j]!=be_replaced[j]){
|
||||
goto out_of_match;
|
||||
}
|
||||
}
|
||||
for(auto j:zt::Range((size_t)0,be_replaced.size())){
|
||||
for(auto j:zt::Range(be_replaced.size())){
|
||||
argv1[i+j]=to_replace[j];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user