Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: RegEx Problem

by clintp (Curate)
on May 29, 2002 at 00:39 UTC ( #169947=note: print w/replies, xml ) Need Help??


in reply to RegEx Problem

s/([A-Z])/-lc($1)/eg
Near as I can tell.

Replies are listed 'Best First'.
Re: Re: RegEx Problem
by dws (Chancellor) on May 29, 2002 at 00:56 UTC
    s/([A-Z])/-lc($1)/eg

    Near as I can tell.

    -i think it loses on an edge condition.