Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: match a range of characters multiple times but they might scattered in the string

by AnomalousMonk (Canon)
on Feb 27, 2013 at 01:03 UTC ( #1020789=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -le
    "my $range = quotemeta 'ARKYGZX';
    ...
    NO match : 'xYYYYx'
    NO match : 'xRRRRRx'
    NO match : 'RRRR'