Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Calling all REGEX Gurus - nasty problem involving regular expressions combined with hash keys - I need ideas as to how to even approach the problem

by ted.byers (Scribe)
on Feb 08, 2013 at 23:25 UTC ( #1017903=note: print w/ replies, xml ) Need Help??


in reply to Re: Calling all REGEX Gurus - nasty problem involving regular expressions combined with hash keys - I need ideas as to how to even approach the problem
in thread Calling all REGEX Gurus - nasty problem involving regular expressions combined with hash keys - I need ideas as to how to even approach the problem

Thanks

There are around 100 possible standard response texts.

I have not seen a consistent pattern in the abbreviations, although I hope against hope that they'd at least abbreviate any given response text the same way consistently.

Part of the challenge is to deliberately trigger each response code, so that we can see how each is abbreviated at least once. It is easy to generate an error related to a bad date, some of the other errors are quite hard to deliberately trigger, especially when the server in question has to be treated as a black box (we know what the response codes are, but not their validation rules that apply them - and their documentation leaves everything to be desired).

That said, I will make a test script based on the code you show, just in case the assumptions that code makes are satisfied by the data they send.

Thanks

Ted


Comment on Re^2: Calling all REGEX Gurus - nasty problem involving regular expressions combined with hash keys - I need ideas as to how to even approach the problem

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-12-25 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls