Skip Menu |
 

This queue is for tickets about the Perl-MinimumVersion CPAN distribution.

Report information
The Basics
Id: 72250
Status: patched
Priority: 0/
Queue: Perl-MinimumVersion

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Analyse escapes in regexps (reference escape list included)
Download (untitled) / with headers
text/plain 303b
Brian d Foy published Tom Christansen's reference list of escape sequences in regexps: https://gist.github.com/1342877 It would be useful to parse regexps to extract escape sequences and use that information to deduce the minimum Perl version required. -- Olivier Mengué - http://perlresume.org/DOLMEN
Download (untitled) / with headers
text/plain 449b
On Mon Nov 07 08:29:00 2011, DOLMEN wrote: Show quoted text
> Brian d Foy published Tom Christansen's reference list of escape > sequences in regexps: https://gist.github.com/1342877 > It would be useful to parse regexps to extract escape sequences and use > that information to deduce the minimum Perl version required.
Similar list is already included into PPIx::Regexp. I'm planning to use PPIx::Regex in P::MV some day. -- Alexandr Ciornii, http://chorny.net
Download (untitled) / with headers
text/plain 209b
A test case: perl -MPerl::MinimumVersion -E "say Perl::MinimumVersion->new(\q{/\h/})->minimum_version" Should report "5.010" (P:MV 1.28 reports "5.004"). -- Olivier Mengué - http://perlresume.org/DOLMEN


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.