Java 正则表达式详解_正则表达式如果你不熟悉这个术语,那么“正则表达式”(Regular
Expression)就是一个字符构成的串,它定义了一个用来搜索匹配字符串的模式。 正则表达式30分钟入门教程 常用正则表达式
许多语言,包括Perl、PHP、Python、JavaScript和JScri...
分类:
编程语言 时间:
2014-06-09 21:39:20
阅读次数:
309
一次总结两道题,两道题目都比较基础Description:Write a function to
find the longest common prefix string amongst an array of strings.分析:
这道题目最重要的知道什么叫prefix前缀, 否则一不小心就做...
分类:
其他好文 时间:
2014-06-09 21:08:16
阅读次数:
224
PromiseEvent基于事件和promise的回调管理,类似于jquery的callbacks,但具有结果传递,优先级,事件参数,promise控制等功能接口方法var
events = st.promiseEvent(mode);events.add(name,function(e,arg,…...
1 !/usr/bin/python 2 #encoding:utf-8 3
#这是一个用来检测用户输入手机号码是否合法的小脚本。 4 5 def phonecheck(s): 6
#号码前缀,如果运营商启用新的号段,只需要在此列表将新的号段加上即可。 7 pho...
分类:
移动开发 时间:
2014-06-09 16:24:02
阅读次数:
768
关于数据结构与算法讲解的书籍很多,但是用python语言去实现的不是很多,最近有幸看到一本这样的书籍,由Brad Miller and David
Ranum编写的《Problem Solving with Algorithms and Data Structures Using Python》.....
分类:
编程语言 时间:
2014-06-09 16:16:53
阅读次数:
276
1 function $(v){ 2 if(typeof v==="function"){ 3
window.onload=v; 4 }else if(typeof v==="st...
分类:
Web程序 时间:
2014-06-09 16:14:23
阅读次数:
250
方法一:正则分析法function getQueryString(name) { var
reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r =
window.location.search.substr(1).m...
分类:
Web程序 时间:
2014-06-09 16:03:15
阅读次数:
293
题目链接Givennpairs of parentheses, write a function to
generate all combinations of well-formed parentheses.For example, givenn= 3, a
solution set is:"((...
分类:
其他好文 时间:
2014-06-09 15:11:33
阅读次数:
212
2014-06-08 BaoXinjian一、总结1.
上传资料(1).通过调用function,打开上传文件页面;(2).从表fnd_lob_access和fnd_lobs中取出文件名放在form画面上;2.
对dbms_lob中的二进制文件进行处理(1).通过dbms_lob.convertto...
分类:
其他好文 时间:
2014-06-09 14:51:51
阅读次数:
336
var allchooseEmpID = "";var allchooseEmpName =
"";//自选经办人 function getJbrWinForMy() { top.MainFrameJS.openWindow({ width: 800,
height: 600, modal: tr....
分类:
Web程序 时间:
2014-06-09 14:36:12
阅读次数:
327