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.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Where are my space habitats? Where is my flying car?
  It's 2010 and all I got from the SF books of my youth
  is the lousy dystopian government.                      -- perlhaqr
-----------------------------------------------------------------------
 12 days until Benjamin Franklin's 309th Birthday

Reply via email to