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 making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2015-07-07 03:23 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 (87 votes), past polls