[move source language] Updated IR translation regex
[move source language] Updated IR translation regex

- Updated IR Translation regex to include functions and unrestricted
- Added comments

Closes: #2512
Approved by: tzakian

aptos-labs/aptos-core,aptos-labs/aptos-core,libra/libra,libra/libra,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,libra/libra,libra/libra,libra/libra,aptos-labs/aptos-core,aptos-labs/aptos-core