in reply to Weird underscore/whitespace failing regex
from the command line withuse Data::Dumper; $Data::Dumper::Useqq = 1; print Dumper($str);
but what's interesting is that every time I would copy/paste "6 1/2" from the Most Holiest of Editors Emacs, it would come out as "1/26" on the command line. Then Dumper would say it just contains "1/26", which is not helpful.print Dumper("6 1/2")
So, it looks like I have a \240 running a muck in my data. Googling tells me this should actually show up as ð but The Most Righteous of Editors was displaying my data in iso-latin-1-unix encoding, as opposed to straight-up UTF-8.$VAR1 = "6\2401\\/2";
|
|---|