Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: matching the words

by Kenosis (Priest)
on Feb 16, 2013 at 21:10 UTC ( #1019076=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        $re =~ s/_/.+/;
        /\b$re\b/ and print "$stem: $_\n" for @array2;
    }
    
  2. or download this
    fil_: file
    fil_: fils
    fil_: filled
    t_xt: text
    _erl: perl
    
  3. or download this
    use strict;
    use warnings;
    ...
        $re =~ s/_/./;
        print "$stem: $1\n" while $words =~ /\b($re)\b/g;
    }
    
  4. or download this
    fil_: file
    fil_: fils
    t_xt: text
    _erl: perl
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019076]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2014-11-29 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (203 votes), past polls