Fixed regex.
Added assert to check shader was created.