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

Jon Daley plogworld at jon.limedaley.com
Thu Jun 1 20:55:52 GMT 2006


 	Leave the hyphen as the last character, or else change it to \-

On Thu, 1 Jun 2006, oscar at devel.lifetype.net wrote:

> Author: oscar
> Date: 2006-06-01 20:14:33 +0000 (Thu, 01 Jun 2006)
> New Revision: 3504
>
> Modified:
>   plog/trunk/class/net/linkparser.class.php
> Log:
> there was a discussion related to allowing dots in permalinks in issue http://bugs.lifetype.net/view.php?id=901 and in the meantime, issue http://bugs.lifetype.net/view.php?id=914 was recently reported. I've added the dot character to the regular expression that parses permalinks,
> but let's not close issue 901 yet in case there are other characters that need to be added.
>
>
> Modified: plog/trunk/class/net/linkparser.class.php
> ===================================================================
> --- plog/trunk/class/net/linkparser.class.php	2006-06-01 19:57:45 UTC (rev 3503)
> +++ plog/trunk/class/net/linkparser.class.php	2006-06-01 20:14:33 UTC (rev 3504)
> @@ -28,7 +28,7 @@
>                   '{day}' => '([0-9]{2})?',
>                   '{hours}' => '([0-9]{2})?',
>                   '{minutes}' => '([0-9]{2})?',
> -                  '{postname}' => '([_0-9a-zA-Z-]+)?',
> +                  '{postname}' => '([_0-9a-zA-Z-.]+)?',
>                   '{postid}' => '([0-9]+)?',
>                   '{catname}' => '([_0-9a-zA-Z-]+)?',
>                   '{catid}' => '([0-9]+)?',
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>

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

Travel agent to customers: Rustic used to mean no indoor plumbing.
Now it means no computers.


More information about the pLog-svn mailing list