fixed the regexp responsible for id replacement

Merged Marek Ostaszewski requested to merge Rcode into master

Merge request reports