Closed Uefi1 closed 1 year ago
What is \R character? Docs tells about it?
\R matches any Unicode newline sequence !
Docs tells about it? no! it is not supported.
It is not documented in other engines too: https://www.regular-expressions.info/refcharclass.html what engine supports it?
I don't know that they wrote me a regular expression where \R is present in notepad++ works
I Found this in documentation: https://www.regular-expressions.info/refcharacters.html
\R | Matches any line break, including CRLF as a pair, CR only, LF only, form feed, vertical tab, and any Unicode line break |
---|
supported in Java 8 and Perl 5.10. good idea to add it. maybe later will add it.
\R Matches any line break, including CRLF as a pair, CR only, LF only, form feed, vertical tab, and any Unicode line break supported in Java 8 and Perl 5.10. good idea to add it. maybe later will add it.
Можно пока чем либо попробовать заменить эту \R ?
use English.
use English.
Sorry, I thought you were a Russian Serb or Ukrainian) Can you try to replace this \R with something for now?
(\r\n|\r|\n|\v .....)
must work.
(\r\n|\r|\n|\v .....)
must work.
Exactly how did you write it? ([a-z]+\ )|.+\R+ ([a-z]+\ )|.+(\r\n|\r|\n|\v .....)+
I mean by dots
.....
that your must list all EOL chars or char-pairs
\r\n \r \n \v others
([a-z]+\ )|.+(\r\n|\r|\n|\v[a-z])+ ??
@user4martin Do you think it's a good idea? No wish to work on it? https://github.com/andgineer/TRegExpr/issues/286#issuecomment-1253966374
Good idea, but I haven't got any immediate available time.
\R is added. In my fork, let's test it please. https://github.com/Alexey-T/TRegExpr If all ok, I will do the PR.
\R inside char class []
is not yet supported. it is not supported at regex101 site. in the 50-70% of engines.
@User4martin @Uefi1
Hello i need to use \R in my regex but i get error unknown meta-character: \R how can i fix this ?