[Mailman-Users] google tracking code

Mark Sapiro mark at msapiro.net
Wed Jul 4 18:42:36 CEST 2012


Stephen J. Turnbullwrote:

>Mark Sapiro writes:
>
> > The other way is to just write a script to add the tracking code to
> > every archives/private/*/*/+([0-9]).html file.
>
>Shouldn't that be "archives/private/*/*/[0-9]+\.html"?


No. What I wrote is a bash extglob, not a regular expression (note '*',
not '.*'). If it were an re it might be something like
"archives/private/[^/]*/[^/]*/[0-9]+\.html".

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list