Fix regressions.
Use devises regex.