mysql-regexp

Regexp routines for mysql, implemented without UDF

Github星跟踪图

mysql-regexp

Regexp routines for mysql, implemented without UDF

This functions have no guarantee and are NOT well-tested. Regex lookup is based on REGEXP operator for mysql, thus, all limitations (such as ci-collations) are applicable for them.

Tests

There is a Tests folder, which contains tests set for mysql-unit. Please, refer to it's documentation for more details.

Known issues

  • Impossible to use ^ or $ in expressions. No multiline support.
  • No support for negative/positive lookaheads/lookbehinds.
  • Anything else?

Complexity/Use cases

As it is, full string with length n reconstruction will cause O(n2) complexity. Yeas, that means, you'll have n2 REGEXP calls. So before using this, think twice. However, valid use-case may be to define some variable with this REGEXP_* functions, then use it in query.

主要指标

概览
名称与所有者almadomundo/mysql-regexp
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证GNU General Public License v2.0
所有者活动
创建于2014-06-04 17:02:57
推送于2014-06-24 15:38:26
最后一次提交2014-06-24 15:37:15
发布数0
用户参与
星数6
关注者数1
派生数2
提交数15
已启用问题?
问题数1
打开的问题数1
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?