GetRexExp function + tests + doc
Concatenate function + tests + doc
still needs improvements