add oncomplete to regex alias