Revert "fixed regex for principalName"

This reverts commit 8d44bec6bd64c268a9c4bab8d94bbb7805cf9679.