#4305 regex \s not done properly, \S probably not handled right either

All
open
nobody
None
5
2014-09-03
2013-05-09
Jim Michaels
No

\s according to the O'Reilly book Mastering Regular Expressions says on P.49 that \s is any whitespace character (space, tab, newline, formfeed, return, and such) and \S is anything that is not \s

currently, \s in npp does not handle \n, \r, and such characters. in other words, it does not handle multiple lines. is there the slightest possibility of having this capability to standard?
thanks.

I actually need this capability in regex finds.
regex currently doesn't support \n, \r and such type of eol characters.

Discussion

  • Simon Sobisch
    Simon Sobisch
    2014-09-03

    Both \s and \S work fine in current versions, bug ticket can be closed.

    Simon