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-

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 scrutinizing the Monastery: (8)
As of 2018-09-24 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (191 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!