mysql-regexp

Regexp routines for mysql, implemented without UDF

  • 所有者: almadomundo/mysql-regexp
  • 平台:
  • 許可證: GNU General Public License v2.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

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 09:02:57
推送於2014-06-24 07:38:26
最后一次提交2014-06-24 11:37:15
發布數0
用户参与
星數6
關注者數1
派生數2
提交數15
已啟用問題?
問題數1
打開的問題數1
拉請求數0
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?