regexp-examples icon indicating copy to clipboard operation
regexp-examples copied to clipboard

[\p{Nd}] — unicode categories in character classes

Open cabo opened this issue 2 years ago • 0 comments

\p{Nd}                 "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "٠", "١", "٢", "٣", "٤", "٥", "٦", "٧", "٨", "٩"
[\p{Nd}]              "p", "{", "N", "d", "}"

These should be equivalent.

cabo avatar Apr 29 '23 11:04 cabo