in reply to Re: Reading Reg Exp
in thread Reading Reg Exp
That's actually incorrect. \s matches 25 different characters, although locale (and EBCDIC) can change the set of characters matched. Even in the LATIN-1 range, next line ("\x85") and no-break space ("\xA0") will be matched by \s if either the pattern or subject has the UTF-8 flag set.\s+ whitespace (\n, \r, \t, \f, and " ")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Reading Reg Exp
by kejohm (Hermit) on Aug 11, 2010 at 10:33 UTC | |
by JavaFan (Canon) on Aug 11, 2010 at 10:45 UTC | |
by kejohm (Hermit) on Aug 12, 2010 at 07:34 UTC | |
by JavaFan (Canon) on Aug 12, 2010 at 08:42 UTC | |
by kejohm (Hermit) on Aug 12, 2010 at 11:55 UTC | |
by choroba (Cardinal) on Aug 11, 2010 at 10:49 UTC | |
by JavaFan (Canon) on Aug 11, 2010 at 10:54 UTC | |
by choroba (Cardinal) on Aug 11, 2010 at 10:57 UTC |