William Lupton <[email protected]> wrote:
> On Tue, 5 Mar 2019 at 14:05, Martin Bjorklund <[email protected]> wrote:
> 
> > Christian Hopps <[email protected]> wrote:
> > >
> > > William Lupton <[email protected]> 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")

Aha, ok, this is better!

> 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").



/martin

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to