fixed a regex issue with Lightning