Revert "Modified to ignore the case of the wrap mode token."

This reverts commit bbe276889132f8812406ee51cea0bf5c0b77e965.
Modified to ignore the case of the wrap mode token.