Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: reading from a text file

by robartes (Priest)
on Jun 07, 2005 at 08:05 UTC ( #464179=note: print w/ replies, xml ) Need Help??


in reply to reading from a text file

Your second regex does not match because of a space between the [45]TEST and and the rest of the line in the input. Try this regex:

/EQT.FIRST.eqtID_(\d+).allowedType:\s+([A-Z0-9])+)/

Notice the extra \s+ (match 1 or more whitespace characters).

CU
Robartes-


Comment on Re: reading from a text file
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2014-12-28 01:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls