Skip Menu |

This queue is for tickets about the Pod-Escapes CPAN distribution.

Report information
The Basics
Id: 70246
Status: resolved
Priority: 0/
Queue: Pod-Escapes

People
Owner: NEILB [...] cpan.org
Requestors: marcgreen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 1.06



Subject: Only match ASCII digits in e2charnum()
The current implementation of e2charnum interprets nonASCII characters that are numbers (e.g., BENGALI DIGIT SEVEN, ৭) as their numeric value because the regex is too lenient. The regex should be limited to only matching ASCII numbers so the function returns an appropriate result given a nonASCII number. For example, e2charnum(৭) currently returns 0 but with this patch it returns undef. This is the correctly behavior because E<৭> should be undefined, not 0.
Subject: Escapes.pm

Message body is not shown because it is too large.

I recently took over maintenance of this module, and fixed this issue in the most recent release.