Updated battletag validation regex
Added caching functions