in reply to Re: Regex - one and only one / at beginning and end of file path
in thread Regex - one and only one / at beginning and end of file path

tachyon++

tr/ // is faster than s/// all other things being equal

Actually, s/// can be faster than tr/// for some tasks. I'll let you find the nodes that contain examples of that. (:

                - tye
  • Comment on Re^2: Regex - one and only one / at beginning and end of file path (fast s///)