Re: FAQ Topic - How do I trim whitespace? (2009-08-17)



In comp.lang.javascript message <daCdnTFc5akOlBbXnZ2dnUVZ_sadnZ2d@gigane
ws.com>, Tue, 18 Aug 2009 16:05:39, kangax <kangax@xxxxxxxxx> posted:

Opera 10b on my Mac OS X gives 23 (contrary to 24 as per your results
on 9.6; my 9.64 gives 24 too, I wonder if that's a regression):

\u0009 \u000a \u000b \u000c \u000d \u0020
\u00a0 \u2000 \u2001 \u2002 \u2003 \u2004 \u2005 \u2006 \u2007 \u2008
\u2009 \u200a \u200b \u2028 \u2029 \u202f \u3000

Added. The page now analyses the contents of its green box (now
editable), and reports which characters are seen as matching \s in all
listed browsers, and which in any of them.

There is an obvious layout bug in it (after pressing 'Go') with IE8 (not
with FF Op Sf Cr); \n in a string written to a PRE does not give
newline. Comment? Using <br> instead will fix it; but I've left a
couple of instances unfixed.


I remember I filed \xA0 with Chromium some time ago which is now fixed
- <http://code.google.com/p/chromium/issues/detail?id=5206>

Perhaps the boilerplate authors should view that page in Firefox 3.0.13
with the error console showing.

--
(c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05 IE 7.
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
I find MiniTrue useful for viewing/searching/altering files, at a DOS prompt;
free, DOS/Win/UNIX, <URL:http://www.idiotsdelight.net/minitrue/> unsupported.
.



Relevant Pages

  • Re: Why ANCOVA?
    ... Data was collected from different individuals in each treatment group. ... ANCOVA analyses for each continuous test score (36 separate ... Would a multiple linear regression in this case ... ANOVA "factors" with more than two levels ...
    (sci.stat.edu)
  • Re: Logistic regression or Poisson regression (log linear)
    ... I've been looking at some analyses with similarly sparse data. ... prior to logistic regression will probably lose a lot of information. ... > treatment more often than with the experimental treatment. ...
    (sci.stat.consult)
  • Re: mulitivariate linear regression and Bonferroni
    ... , but not in the other, even when the analyses ... If an investigator were to come to me with a multiple regression model and a question about which regression coefficients might be statistically significant, without any prior thought about narrowing down the field, I'd certainly demand an adjustment, as would most people I work with. ... If the OP wants to design a study like this, then s/he can design it to accommodate the adjustment. ...
    (sci.stat.edu)

Loading