issues
search
easychen
/
LazyPHP4
LazyPHP4 , an API first framework for php developer
313
stars
66
forks
source link
正则修改
#6
Open
easychen
opened
10 years ago
easychen
commented
10 years ago
目前LP4中有两个地方的正则存在问题:
将flightphp格式的路由转换为php-apidoc格式路由的函数,用了多次转换,需要优化
https://github.com/geekcompany/LazyPHP4/blob/master/_lp/lib/functions.php#L393
Ldo中,出现了getAllBy(Nothing)Limit 的语法,而通过优化正则,Nothing部分是可以省略的,此正则需要优化
https://github.com/geekcompany/LazyPHP4/blob/master/_lp/lib/Lazyphp/Core/Ldo.php#L30
目前LP4中有两个地方的正则存在问题: