in reply to More Help with Regex
This returns an array that contains 12 elements, because the split function is, well, splitting the string, returning what the regex matches, along with what's in between the match (null characters).split /(..)/,'00a0c801adc6';
perl -e 's=$;$/=$\;W=i;$\=$/;s;;XYW\\U$"\;\);sig,$_^=$[x5,print;'
|
---|