Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^6: Regular Expression Translation Help!

by aquarium (Curate)
on Nov 30, 2010 at 23:34 UTC ( #874586=note: print w/replies, xml ) Need Help??


in reply to Re^5: Regular Expression Translation Help!
in thread Regular Expression Translation Help!

and if i'm reading the regex context correctly, if there's no match at all, then the string sent for matching is returned intact without changes.
my personal preference would be for a code block that is a bit clearer, as combining the search & replace regex and the trinary conditional operator makes it a bit confusing.
the hardest line to type correctly is: stty erase ^H
  • Comment on Re^6: Regular Expression Translation Help!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://874586]
help
Chatterbox?
[marto]: hopefully everyone had a good weekend
[Discipulus]: yees.. masonry, shaving of the ceiling (dunno if shaving is the right term..) 20hours in the weekend.. so veery good ;=)
[LanX]: yes I worked ...
[LanX]: ... and hope to get a free work day in compensation. :)
choroba went to a museum with the older children. The exhibition was called "American Indians".

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2018-02-19 10:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (261 votes). Check out past polls.

    Notices?