Removed unused function, won't be implemented in new regex system