Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 cooling their heels in the Monastery: (9)
As of 2015-07-07 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls