On 1/5/2015 4:13 PM, John Hardin wrote:
On Mon, 5 Jan 2015, Bowie Bailey wrote:
You can avoid having to escape the slash (/) by using a different
separator for the regex. This can avoid "leaning toothpick syndrome."
For example:
m#http://match/this/url/#
Ouch. # won't work for that (in SA at least) as it comments out the
rest of the RE.
Ack! Forgot about that minor difference with SA. # is my general go-to
character for that in normal Perl scripts.
This should illustrate the same point with the minor improvement of
actually *working* in SA:
m^http://match/this/url/^
--
Bowie