Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Stuck in komplexer regex, at least for me

by ultibuzz (Monk)
on Mar 27, 2007 at 06:34 UTC ( #606711=note: print w/ replies, xml ) Need Help??


in reply to Re: Stuck in komplexer regex, at least for me
in thread Stuck in komplexer regex, at least for me

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


Comment on Re^2: Stuck in komplexer regex, at least for me
Re^3: Stuck in komplexer regex, at least for me
by xorl (Deacon) on Mar 28, 2007 at 20:39 UTC
    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://606711]
help
Chatterbox?
and the web crawler heard nothing...

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

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





    Results (184 votes), past polls