On Fri, 18 Feb 2022, Damian wrote:

 invalid regexp for __URI_TRY_3LD
 
'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b,i':
 Variable length lookbehind is experimental in regex; marked by <-- HERE in
 
m/(?i)^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?<!list-manage\.)(?:com|net)\b
 <-- HERE /

Wow, this one is pretty subtle. It is due to:

 Note that under "/i", a few single characters match two or three other
 characters. This makes them variable length [...]

Or vice-versa - in this case "ss"/"st" collapses to "ß"...

...and it's not universal, either. It passed lint here or I wouldn't have checked it in. It passed the masscheck lint or it wouldn't have been published.

I've checked in a fix, there may be one more bad update tonight before it goes out.


--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org                         pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Are you a mildly tech-literate politico horrified by the level of
  ignorance demonstrated by lawmakers gearing up to regulate online
  technology they don't even begin to grasp? Cool. Now you have a
  tiny glimpse into a day in the life of a gun owner.   -- Sean Davis
-----------------------------------------------------------------------
 4 days until George Washington's 290th Birthday

Reply via email to