Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 having an uproarious good time at the Monastery: (2)
As of 2016-07-31 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (269 votes). Check out past polls.