in reply to removing words
Any ideas?
Certainly. Look. s/([%\d])$_([%\d])/. Let's break that down.
hey wait... that's funny! Is there even any [%\d] before your "the" word? Or after it?s/ # begin substitution ([%\d]) # A captured character class for # a literal "%" and then \d # -- does that even work? # I would write it as [%0-9], but ok, # that's so beside the point. $_ # Ok, so we match $_ *AFTER* we matched # that character class ([%\d]) # And there's that cutie again
To be more precise, what is the value of $title and does $title even match with the first part of your s/// expression?
|
|---|