Hi, I'm wondering what these symbols mean? (\p{P} and \p{P})
I guess it's some set of all characters of a given type? Where can I find some informations about that? :)
\p{P} and \p{P} symbols.
Dyskutowane
Komentarze (2)
- Popularne
- Najnowsze
- Najstarsze
Musisz się zalogować, aby dodać komentarz
Lisa L
26 marca 2022, 21:33
search for 'posix character classes' or have a look at the api docs for Pattern
Oh, I've just seen it's not listed there... but it's short for \p{Punct} (and don't forget to double escape regex in java).
0
Potężny Karol
27 marca 2022, 09:53
OK, thank you! :)
0