Transforms only certain keywords.
Transforms only certain keywords.
This makes sure that they aren't part of another keyword.
Eg. "gradient"
only matches "gradient"
and not "linear-gradient"
.
Input is expected to be regex-quoted already. Input shouldn't end in "(". A different method is required for functions.