Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: fast string parser: regex versus substr

by Abigail-II (Bishop)
on Nov 20, 2003 at 16:22 UTC ( [id://308613]=note: print w/replies, xml ) Need Help??


in reply to fast string parser: regex versus substr

Well, at least one of the approaches is incorrect. I uncommented the warnings, turned them into prints and added the following to your program:
dosubstr; print "---\n"; doregex;
Running your program gives me:
A12345 RELEASE A1 2345RELEASEA12345 FTOP DD_BUIL+ FT OPDD_REKL+FTOP FTOP DD_PLAN+ FT OPDD_REKL+FTOP ---

Abigail

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-23 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found