jcwren has asked for the wisdom of the Perl Monks concerning the following question:
Congratulations to the last person who voted this simple request down. I've had it with the trolls, votebots, and general decline of civilization of PM. I'm outta here.
Updated: Apparently, some people are dim enough to think this is a 'do my homework' type node. It's not. It's code for a future PM-related utility. I'm looking for a little help for something I'd rather not write if it already exists. I think it's called 'Not Reinventing The Wheel'.
I'm looking for some code that will do multi-base number verification. Here's the criteria:
Ideally, some large esoteric module should not be required. For instance, Parse::RecDescent with a grammar for number parsing is a sub-optimal solution.
I don't really care if it's an elaborate (fool-proof) regexp, a state machine, or pirated-and-ported VB code, as long it's solid.
Anyone got one of these handy, or want to golf one?
--Chris
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Extract numbers in multiple bases
by MrNobo1024 (Hermit) on Oct 15, 2001 at 02:38 UTC | |
(tye)Re: Extract numbers in multiple bases
by tye (Sage) on Oct 15, 2001 at 03:32 UTC | |
(Ovid) Re: Extract numbers in multiple bases
by Ovid (Cardinal) on Oct 15, 2001 at 03:07 UTC | |
Re: Extract numbers in multiple bases
by jbert (Priest) on Oct 15, 2001 at 17:25 UTC | |
by tachyon (Chancellor) on Oct 30, 2001 at 18:25 UTC | |
Re: Extract numbers in multiple bases
by mischief (Hermit) on Oct 15, 2001 at 20:12 UTC | |
by bladx (Chaplain) on Oct 16, 2001 at 08:52 UTC | |
by mischief (Hermit) on Oct 17, 2001 at 19:15 UTC | |
Re: Extract numbers in multiple bases
by BlueLines (Hermit) on Oct 16, 2001 at 04:08 UTC |