Reduce dependency on "regexp".