in reply to Reversing Arabic String direction
You should've posted some examples. Then again, Perlmonks likes to mangle non-ASCII symbols.use utf8; use open qw(:encode(utf-8) :std); ... $arabic_string =~ s/(\p{L}+)/reverse $1/eg;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reversing Arabic String direction
by LanX (Saint) on Jul 10, 2014 at 22:41 UTC | |
by Anonymous Monk on Jul 10, 2014 at 23:09 UTC | |
|
Re^2: Reversing Arabic String direction
by Anonymous Monk on Jul 10, 2014 at 22:16 UTC | |
by Anonymous Monk on Jul 10, 2014 at 22:22 UTC |