[RelinkUs] Fix regex errors and str conversion