From: Rob Biedenharn Date: 2011-07-28T00:31:52+09:00 Subject: Re: String manuplation example On Jul 27, 2011, at 10:20 AM, Hans Mackowiak wrote: > hm use /\/dev\/[\w]+/ then the position is not the problem > > And if you don't want to keep escaping the /'s because you're matching pathnames: %r{/dev/\w+} is the same using the %r{ } syntax for writing a literal Regexp. -Rob Rob Biedenharn Rob@AgileConsultingLLC.com http://AgileConsultingLLC.com/ rab@GaslightSoftware.com http://GaslightSoftware.com/