my @chars = /.(.)/sg;
By any chance, are you trying to decode UTF-16 improperly? (Is every second character a NUL, "\0"?)
(I missed the "same character" bit.)
In reply to Re: Regex to only show 2nd character of the same character in a string
by ikegami
in thread Regex to only show 2nd character of the same character in a string
by wtritchie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |