On Tue, 5 Mar 2019 at 14:05, Martin Bjorklund <m...@tail-f.com> wrote:
> Christian Hopps <cho...@chopps.org> wrote: > > > > William Lupton <wlup...@broadband-forum.org> writes: > > > > >> The intent was "ascii-printable". Would be nice if there was an easier > > > way to specify this. :) > > > > > > Printable ASCII characters are ' ' (space) through '~' (tilde) so > > > naively [ > > > -~] should work ... but perhaps that makes unacceptable assumptions > > > -about > > > the locale and/or character encoding? (Certainly it should be OK if we > > > can > > > assume UTF-8, because all printable ASCII characters retain their > > > ASCII > > > representations in UTF-8.) > > > > I think your suggestion is a good one! > > Not sure I get it. What exactly is the suggestion? > Presumably the suggestion of using the [ -~] ("space through tilde") closure. I forgot to include other whitespace characters (CR, LF, FF) so if those are to be included it could be [\s!-~] ("whitespace plus exclamation mark through tilde").
_______________________________________________ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod