From:

Date:

July 7, 2011 07:43Subject:

Re: Solving the *real* Dot ProblemMessage ID:

CAOeq1c_4oMcu66=kNfuEBVN=5MK0tzXxi54_AbLVYtSUuhygJQ@mail.gmail.comOn Thu, Jul 7, 2011 at 3:17 AM, Johan Vromans <jvromans@squirrel.nl> wrote: > Tom Christiansen <tchrist@perl.com> writes: > >> The Dot Problem will never be solved until people start thinking in >> Unicode not ASCII. Otherwise you’ll “solve” the “wrong” “problem”. > > Not quite. I think you had the tiger by the tail one sentence earlier: > >> […] let’s please step back and evaluate the original sense of “.” […] > > This is what matters. What is the intended purpose of “.”? > > Originally, the intention was to be able to match ‘lines’ in a blob of > data slurped from a disk file. Files at the time were newline separated > streams of single-byte characters, so “.” matched any byte except \x0a > (newline). That this assumption would not hold in the longer term became > apparent when Windows, Mac, VMS and EBCDIC files came into > consideration. > > Should we want our new “.” to acquire the originally intended meaning, > we first must decide what makes up lines in files in the modern Unicode > world. Notwithstanding the validity of Tom's diagnosis of the bigger issues, +1 for this insight alone. If the most common case is arguably still "let me slurp a line of input", then we should attempt to preserve that semantic. -- DavidThread Previous | Thread Next

- Is 5.16 the time to remove \N, the complement of \n, from being experimental? by Karl Williamson
- Re: Is 5.16 the time to remove \N, the complement of \n, frombeing experimental ? by Jesse Vincent
- Re: Is 5.16 the time to remove \N, the complement of \n, from beingexperimental ? by Zsbán Ambrus
- Solving the *real* Dot Problem (was: Is 5.16 the time to remove \N, the complement of \n, from being experimental?) by Tom Christiansen
- Re: Solving the *real* Dot Problem (was: Is 5.16 the time to remove\N, the complement of \n, from being experimental?) by Brian Fraser
- Re: Solving the *real* Dot Problem by Karl Williamson
- Re: Solving the *real* Dot Problem (was: Is 5.16 the time to remove\N, the complement of \n, from being experimental?) by H.Merijn Brand
- Re: Solving the *real* Dot Problem (was: Is 5.16 the time toremove \N, the complement of \n, from being experimental?) by Abigail
- Re: Solving the *real* Dot Problem by Johan Vromans
- Re: Solving the *real* Dot Problem (was: Is 5.16 the time to remove \N, the complement of \n, from being experimental?) by Tom Christiansen
- Re: Solving the *real* Dot Problem by Johan Vromans
- FMTEYEWTK about Unicode Grapheme Matching (was: Solving the *real* Dot Problem) by Tom Christiansen
**Re: Solving the *real* Dot Problem**by David Golden- Re: Is 5.16 the time to remove \N, the complement of \n, frombeing experimental ? by Abigail
- Re: Is 5.16 the time to remove \N, the complement of \n, from beingexperimental ? by Karl Williamson

nntp.perl.org: Perl Programming lists via nntp and http.

Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About