- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
mysql_正则匹配中文(Mysql_ regular matching Chinese)
mysql_正则匹配中文(Mysql_ regular matching Chinese)
MySQL regular matching Chinese
With MySQL in HEX, the field is converted to 2, and then the regular matches the corresponding Chinese code code.
Our field stores utf8, so we query the utf8 Chinese character encoding table (if you are GBK, check the corresponding code control)
Chinese characters e[4-9][0-9a-f]{4}
Number (3[0-9])
The letter (4[0-9A-F]|5[0-9A]|6[0-9A-F]|7[0-9A]) corresponds to the code
Regular can be written as:
HEX (name) REGEXP[[: : (e[4-9][0-9a-f]{4}|3[0-9]|4[0-9A-F]|5[0-9A]|6[0-9A-F]|7[0-9A]|5F) +[[: :]]
Not \: tetralogy of Fallot: \: MySQL is a regular stop / start.
REG_EXP_DATE = ^ (
([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3}) -
(
((0[13578]|1[02]) - (0[1-9]|[12][0-9]|3[01])) | ((0[469]|11) - (0[1-9]|[12][0-9]|30) | (02-) (0[1-9]|[1][0-9]|2[0-8]))
| (()) ([0-9]{2}) (0[48]|[2468][048]|[13579][26]) | ((0[48]|[2468][048]|[3579][26]) 00)) -02-29) \\s+ ([0-1])? [0-9]|2[0-3]) - ([0-5][0-9]) - ([0-5][0-9]) ;
Corresponding database YYYY-MM-DD HH24-MI-SS
(0[13578]|1[02]) | (0[469]|11) |02
Special characters in regular expressions
Characters /
Significance: for characters, they usually indicate literal meaning and indicate that the next character is a special character, without explanation.
For example, /b/ matches the character B by adding a backslash in front of B, that is, /b/, which turns into a special character
A line that matches a word.
Or:
For several characters, the instructions are special, pointing out that the characters that follow are not special, but should be interpreted literally.
For example: * is a special character that matches any character (including 0 characters); for example, /a*/ means matching 0 or more a. To match the literal *, add a backslash to the front of the A; for example, /a*/ matches a*.
Characters ^
Significance: the characters that represent the match must be in the front.
For example: /^A/ mismatch \ \ an, A, \ \ in A, but match ` An A.\ in f
您可能关注的文档
- dcl-2计算书(Dcl-2 statement).doc
- dbc修改详解(DBC modification detail).doc
- db2维护手册(DB2 maintenance manual).doc
- debug 用法(Debug usage).doc
- db性能指标(DB performance index).doc
- dedecms模版制作使用方法(Dedecms template production method of use).doc
- deh伺服阀故障原因分析(Failure analysis of DEH servo valve).doc
- dede 标签(dede 标签).doc
- delphi opengl 三维隧道(OpenGL三维隧道).doc
- delll错误代码(Delll error code).doc
- mysql中错误代码(Error codes in MySQL).doc
- mysql的日期和时间函数(Date and time functions for MySQL).doc
- mysql的几款性能测试工具使用介绍(Several performance testing tools for MySQL are introduced).doc
- n79常见问题及解决办法(N79 common problems and Solutions).doc
- nagios安装与配置全过程详细经过(Nagios installation and configuration, detailed process).doc
- nanya内存颗粒编号代表什么意思(What does the Nanya memory particle number mean).doc
- nature设计更有效的抗hiv抗体(Nature designing more effective anti HIV antibodies).doc
- nba08补丁安装位置教程(NBA08 patch installation location tutorial).doc
- nba与中国篮球(NBA and Chinese basketball).doc
- nb常见故障排除方法(Common troubleshooting methods for NB).doc
文档评论(0)