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

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 musing on the Monastery: (12)
As of 2016-06-28 10:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (356 votes). Check out past polls.