Copyright 2015 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

package precis

import (
	

	
	
	
)

Implements the Nickname profile specified in RFC 8266.
Implements the UsernameCaseMapped profile specified in RFC 8265.
Implements the UsernameCasePreserved profile specified in RFC 8265.
mapSpaces is a shared value of a runes.Map transformer.
var mapSpaces transform.Transformer = runes.Map(func( rune) rune {
	if unicode.Is(unicode.Zs, ) {
		return ' '
	}
	return