码迷,mamicode.com
首页 >  
搜索关键字:match    ( 5193个结果)
JS 通过字符串取得对应对象
//对Array的扩展,查找所有满足条件的元素 Array.prototype.findAll = function (match) { var tmp = []; for (var i = 0; i 0) { tempObj = CheckArrayFormat(tempObj, attrPoin... ...
分类:Web程序   时间:2018-05-20 19:25:48    阅读次数:307
java.sql.SQLException: Column count doesn't match value count at row 1
1、异常提示:Cause: java.sql.SQLException: Column count doesn't match value count at row 1 ; bad SQL grammar []; nested exception is java.sql.SQLException: ... ...
分类:数据库   时间:2018-05-20 15:30:43    阅读次数:201
MySQL数据库篇之单表查询
主要内容: 一、单表查询的语法 二、关键字的执行优先级 三、简单查询 四、where约束 五、分组查询 group by 六、having过滤 七、查询排序 order by 八、限制查询的记录数 limit 九、使用正则表达式查询 1?? 单表查询的语法 2?? 关键字的执行优先级 3?? 简单查 ...
分类:数据库   时间:2018-05-20 10:47:37    阅读次数:201
django2 xadmin pip list
diff-match-patch 20121119Django 2.0.5django-crispy-forms 1.7.2django-formtools 2.1django-import-export 1.0.1django-reversion 2.0.13et-xmlfile 1.0.1fut ...
分类:其他好文   时间:2018-05-19 23:51:11    阅读次数:312
Python正则
# !/user/bin/python # -*- coding: utf-8 -*- import re # match, 从头开始匹配 a = re.match("192", "inet 地址:192.168.12.44") # 不匹配, 因为字符串开头不是192. b = re.match("... ...
分类:编程语言   时间:2018-05-19 21:22:48    阅读次数:174
IFE_part2_JavaScript_BOM的学习
// BOM // 判断是否为IE浏览器,返回-1或者版本号 function isIE() { var uUserAgent = navigator.userAgent; //保存浏览器的userAgent var ieAgent = uUserAgent.match(/msie (\d+.\d+... ...
分类:编程语言   时间:2018-05-19 17:02:49    阅读次数:177
正则表达式 - 语法
正则表达式 - 语法 正则表达式(regular expression)描述了一种字符串匹配的模式(pattern),可以用来检查一个串是否含有某种子串、将匹配的子串替换或者从某个串中取出符合某个条件的子串等。 例如: runoo+b,可以匹配 runoob、runooob、runoooooob 等 ...
分类:其他好文   时间:2018-05-19 10:38:56    阅读次数:169
[ Python ] KMP Algorithms
1 def pmt(s): 2 """ 3 :param s: the string to get its partial match table 4 :return: partial match table 5 """ 6 prefix = [s[:i + 1] for i in range(le... ...
分类:编程语言   时间:2018-05-18 15:38:44    阅读次数:174
DCGAN 论文简单解读
"DCGAN" 的全称是Deep Convolution Generative Adversarial Networks(深度卷积生成对抗网络)。是2014年Ian J.Goodfellow 的那篇开创性的 "GAN论文" 之后一个新的提出将GAN和卷积网络结合起来,以解决GAN训练不稳定的问题的一 ...
分类:其他好文   时间:2018-05-18 11:24:19    阅读次数:232
php开发之常用验证方法
//邮箱验证 function isEmail($email) { if (!$email) { return false; } return preg_match('/^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,4}$/', $email); } / ...
分类:Web程序   时间:2018-05-17 23:25:59    阅读次数:348
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!