Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Regex To Remove File Extension

by kennethk (Abbot)
on Dec 10, 2008 at 19:07 UTC ( #729481=note: print w/replies, xml ) Need Help??


in reply to Re: Regex To Remove File Extension
in thread Regex To Remove File Extension

/\..*?$/ won't work because it still matches off the first period - I thought of that one at first, too. The second expression(/\.[^.]+$/) works fine.

Replies are listed 'Best First'.
Re^3: Regex To Remove File Extension
by dreadpiratepeter (Priest) on Dec 10, 2008 at 19:18 UTC
    You are of course correct. I should pay more attention when responding to posts. In my defense, I was hard at work on some code and was distracted.


    -pete
    "Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."
      In your defense, my boss wishes I was hard at work on some code and was distracted.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://729481]
help
Chatterbox?
[stevieb]: Corion: the problem with that is the 2.36 represents the underlying C library I've wrapped, which is why I want to use incrementals after the real version number. I've emailed modules@ to see if they can expedite the process for me...
[stevieb]: ...as normally, it takes three days to delete, in case you want to change your mind

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2017-01-19 15:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (170 votes). Check out past polls.