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

Jon Daley plogworld at jon.limedaley.com
Thu Dec 28 13:04:49 GMT 2006


 	Is there some sort of :alpha: or :printable: that would be better? 
Or maybe at least [^\n\r]

On Thu, 28 Dec 2006, oscar at devel.lifetype.net wrote:

> Author: oscar
> Date: 2006-12-28 12:36:16 +0000 (Thu, 28 Dec 2006)
> New Revision: 4439
>
> Modified:
>   plog/trunk/class/net/linkparser.class.php
> Log:
> I had to soften the regexp used to parse resource names out of links to resourcs or else files with things like accented characters would not be accepted as valid urls
>
> Modified: plog/trunk/class/net/linkparser.class.php
> ===================================================================
> --- plog/trunk/class/net/linkparser.class.php	2006-12-28 10:13:02 UTC (rev 4438)
> +++ plog/trunk/class/net/linkparser.class.php	2006-12-28 12:36:16 UTC (rev 4439)
> @@ -36,7 +36,7 @@
>                   '{userid}' => '([0-9]+)?',
>                   '{templatename}' => '([_0-9a-zA-Z.-]+)?',
>                   '{resourceid}' => '([0-9]+)?',
> -                  '{resourcename}' => '([_0-9a-zA-Z. \(\)\[\]-]+)?',
> +                  '{resourcename}' => '(.*)?',
>                   '{albumid}' => '([0-9]+)?',
>                   '{albumname}' => '([_0-9a-zA-Z -]*)?'
>               );
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>

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

There cannot be a crisis next week.  My schedule is already full.
-- Henry Kissinger


More information about the pLog-svn mailing list