[pLog-svn] regex
Ma'moon
soosas at gmail.com
Thu Jul 20 06:57:41 GMT 2006
Hi,
lately i have upgraded my lifetype from 1.0.2 to 1.0.6 and i have noticed
the the following differences between some files and i wondered why they
were changed :
(1) class/dao/article.class.php
( V1.0.2 => $regexp
="/<a.*id=\"res_([0-9]+)\".*>.*<\/a>/im"; )
( V1.0.6 => $regexp
="|<a.*id=\"res_([0-9]+)\".*>.*<\/a>|U"; )
(
Line 879 )
(2) class/data/kses.class.php
( V1.0.2 =>
'/^((&[^;]*;|[\sA-Za-z0-9])*)'.'(:|:|&#[Xx]3[Aa];)\s*/e' )
( V1.0.6 =>
'/^((&[^;]*;|[\sA-Za-z0-9])*)'.'(:|:|&#[Xx]3[Aa];)(\/|/|&#[Xx]2[Ff];)(\/|/|&#[Xx]2[Ff];)\s*/e'
)
(
Line 604 )
(3) class/data/validator/rules/uintrule.class.php
( V1.0.2 => define(
"UINT_RULE_REG_EXP", "^([1-9][0-9]*)|0$"); )
( V1.0.6 => define(
"UINT_RULE_REG_EXP", "^([0-9]+)$"); )
(
Line 5 )
my Question is why the above lines has been changed, and what does it
improve ?
Thank you.
-Ma'moon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http:// devel.lifetype.net/pipermail/plog-svn/attachments/20060720/96968b43/attachment.html
More information about the pLog-svn
mailing list