Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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-

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 drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2016-07-01 01:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (405 votes). Check out past polls.