Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

(Kozz) RE: RE: regexp for adding commas to a number

by Kozz (Friar)
on Aug 17, 2000 at 21:25 UTC ( #28346=note: print w/ replies, xml ) Need Help??


in reply to RE: regexp for adding commas to a number
in thread regexp for adding commas to a number

Thanks for the insight. I'm ignorant of the secrets of lookahead, lookbehind, inner repetitions, and all the other associated voodoo with things like this, so while this regex certainly works, the breakdown of what it all means is a mystery to me. Would "Mastering Regular Expressions" be a good teacher for this sort of thing?

Thanks, merlyn (++), and everybody else for their help and insight.


Comment on (Kozz) RE: RE: regexp for adding commas to a number
RE: (Kozz) RE: RE: regexp for adding commas to a number
by merlyn (Sage) on Aug 17, 2000 at 21:29 UTC
    The currently available Mastering Regular Expressions doesn't cover any of the really cool Perl 5 regex stuff. Jeffrey Friedl is in the process of rewriting the book for a second edition, and has been working with the Perl developers to uncover inconsistencies in the implementation (what normal people would call "bugs" {grin}) and gaps in the documentation.

    Don't hold your breath though. I know this effort will probably take one to two years of nights and weekends. "Been there Done that" x $n

    -- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2014-07-13 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (248 votes), past polls