match = url.match(%r[http://(.+).site.com/a-(\d+).html])
my question is what is this %r, i know that %w(x 1 2)=[‘x’,‘1’,‘2’] but
what’s %r,
can i read more about these percents?
links please
John Ab wrote:
my question is what is this %r
Regex literal. Like // but without the need to escape any slashes in the
re.
can i read more about these percents?
HTH,
Sebastian
thank you very much