in reply to Can I change the definition of '\s'?
Hmm, your code sample doesn't parse (you said s// not s///) and it's finding leading OR trailing space. Assuming you just forgot a slash, it will strip leading space if it exists and leave trailing, or strip trailing if there was no leading.my $space= qr/[\s\xA0]/;
|
|---|