added regexp helper struct