[pLog-svn] r3427 - plog/trunk/class/net

Jon Daley plogworld at jon.limedaley.com
Wed May 17 11:53:10 GMT 2006


 	Thanks.  I am surprised that there are so many.  I thought I 
already fixed all of those.

On Wed, 17 May 2006, pwestbro at devel.lifetype.net wrote:

> Author: pwestbro
> Date: 2006-05-17 05:50:34 +0000 (Wed, 17 May 2006)
> New Revision: 3427
>
> Modified:
>   plog/trunk/class/net/linkparser.class.php
> Log:
> Fixed the regular expressions in link parser
>
>
> Modified: plog/trunk/class/net/linkparser.class.php
> ===================================================================
> --- plog/trunk/class/net/linkparser.class.php	2006-05-16 22:23:11 UTC (rev 3426)
> +++ plog/trunk/class/net/linkparser.class.php	2006-05-17 05:50:34 UTC (rev 3427)
> @@ -21,7 +21,7 @@
>                   '{blogname}' => '([_0-9a-zA-Z-]+)?',
>                   '{blogid}' => '([0-9]+)?',
>                   '{blogowner}' => '([_0-9a-zA-Z-]+)?',
> -                  '{blogdomain}' => '([0-9a-zA-Z-.]+)?',
> +                  '{blogdomain}' => '([0-9a-zA-Z.-]+)?',
>                   '{op}' => '([_0-9a-z-]+)?',
>                   '{year}' => '([0-9]{4})?',
>                   '{month}' => '([0-9]{2})?',
> @@ -34,11 +34,11 @@
>                   '{catid}' => '([0-9]+)?',
>                   '{username}' => '([_0-9a-zA-Z-]+)?',
>                   '{userid}' => '([0-9]+)?',
> -                  '{templatename}' => '([_0-9a-zA-Z-.]+)?',
> +                  '{templatename}' => '([_0-9a-zA-Z.-]+)?',
>                   '{resourceid}' => '([0-9]+)?',
> -                  '{resourcename}' => '([_0-9a-zA-Z-. \(\)\[\]]+)?',
> +                  '{resourcename}' => '([_0-9a-zA-Z. \(\)\[\]-]+)?',
>                   '{albumid}' => '([0-9]+)?',
> -                  '{albumname}' => '([_0-9a-zA-Z- ]*)?'
> +                  '{albumname}' => '([_0-9a-zA-Z -]*)?'
>               );
>
>         var $_linkFormat;
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>

**************************************
Jon Daley
http://jon.limedaley.com/

Why is Unix so violent?
Pound, bang, slash, bash...


More information about the pLog-svn mailing list