in reply to problem with user-defined unicode character properties
print() returns the number of characters printed, which in your case is whatever s/// returns. Those are the numbers you're seeing.
Change the last line to:
and it should work.s/[\P{InRussian}]//g;
|
|---|