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

Re: Parsing a Word placed between special characters

by toolic (Bishop)
on May 01, 2013 at 18:22 UTC ( #1031627=note: print w/ replies, xml ) Need Help??


in reply to Parsing a Word placed between special characters

use warnings; use strict; while (<DATA>) { print "$1\n" if /\\\[(\w+)\\]/; } __DATA__ test\[abc\]test test\[cde\]test test\[ack\]test


Comment on Re: Parsing a Word placed between special characters
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031627]
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-08 06:59 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 (96 votes), past polls