Introduce RREGEXP_PTR so we can change the logic easier later
Remove unnecessary function definitions
Move cache off to separate structure

Also moves usecnt to the new structure so we don't grow the current
RValue object size and keep it the same.