Don't forget to escape the periods. Is the "g" supposed to be optional?