Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Stuck in komplexer regex, at least for me

by chrism01 (Friar)
on Mar 26, 2007 at 22:53 UTC ( #606677=note: print w/ replies, xml ) Need Help??


in reply to Stuck in komplexer regex, at least for me

Just out of curiosity, can you tell us what this does/is for in real life?
Seems like a wierd set of rules

Cheers
Chris


Comment on Re: Stuck in komplexer regex, at least for me
Re^2: Stuck in komplexer regex, at least for me
by ultibuzz (Monk) on Mar 27, 2007 at 06:34 UTC

    sure
    we get 12 digit numbers from another firm these numbers can vary from 4 -12 digits and are fileld up with 0
    the problem is we get an letter how they fill up the numbers but they miss several possibilitys so i get the problem here decoding this 12 digit numbers to remove the right 0 and not 0 that are part of the digit.

    the explanation was 2 sentencis wich dosnt really help for anything ^^
    and we are not in the position to force a change in their process then we woud get these numbers in paper form so we need to do workarounds to get the right numbers, or atleast not many failurs :D

    kd ultibuzz

      I feel the need to ask, might it be easier to convert your numbers to the other firm's numbers? Or maybe not try to convert anyone's numbers, but use both yours and theirs and match them up using a database or something? Maybe if I understood how and why they seem to add 0 in very odd places, it would be easier to figure out how to deal with this. I'm not a regex person, so this is my stab at this: I'm sure there is a serious performance hit for not using a regex.

        this conversion is not possible,woud be great ;)
        and they are unable to change there 12 year old process because noone know how to change it.
        we both find it stupid to fill up the numbers with 0 so they are a 12 digit number ;/
        and so they are unable to change this and we can not work with nonsens numbers ( the 0 fileld up ones) we need to workaround it.
        from 12mio numbers 162 are not correct and this we can accept ;),50% of these numbers are crap anyway so its a nice failure quota and can be checkt by a human

        kd ultibuzz

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2014-08-20 21:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (124 votes), past polls