http://www.perlmonks.org?node_id=1004789


in reply to Re^2: Array Filter and Lookahead
in thread Array Filter and Lookahead

Excellent catch, thank you! Changed disjunct positions...

Replies are listed 'Best First'.
Re^4: Array Filter and Lookahead
by AnomalousMonk (Archbishop) on Nov 20, 2012 at 21:18 UTC
    Changed disjunct positions...

    But that just causes a problem for strings that have no digits at all, e.g., 'xxx', which daugh016 wants to extract as '' (empty string).

      I think today is two of those days... The //, as you suggested, is best. Thank you, again...