Credits:

MK - The original base code.
Goliath (EVOLVE) - Allowing me to use it!

Shani for his Live Streamer Pro addon that allows the regex rseolver to be possible.
Lambda for porting the LSP module for use in other addons.