码迷,mamicode.com
首页 >  
搜索关键字:regular    ( 1979个结果)
hihoCoder #1110 Regular Expression
Problem:DescriptionYour task is to judge whether the input is a legal regular expression.A regular expression is defined as follow:1: 0 and 1 are both...
分类:其他好文   时间:2015-03-08 21:20:11    阅读次数:199
URAL 1585. Penguins (字符串)
1585. Penguins Time limit: 1.0 second Memory limit: 64 MB Programmer Denis has been dreaming of visiting Antarctica since his childhood. However, there are no regular flights to Antarctic...
分类:其他好文   时间:2015-03-07 17:16:10    阅读次数:167
Odoo Entypo Regular Icon List
参考地址:http://www.fontslog.com/entypo-regular-otf-33800.htm#custompreview或 http://www.w3cplus.com/w3cplusDemo/demos/fontomas/index.htmlOdoo icon使用的是 Ent...
分类:其他好文   时间:2015-03-06 09:55:11    阅读次数:219
Regular Expression Matching -- LeetCode
(Version 1.1)这一题自己没有做出来,感觉还是思维角度的问题。个人感觉一个可行的思维角度是先从Code Ganker的那个recursive的角度出发(http://blog.csdn.net/linhuanmars/article/details/21145563),写出一个可行的rec...
分类:其他好文   时间:2015-03-06 09:32:57    阅读次数:189
面试10大算法题汇总-字符串和数组3
6.匹配正则表达式 编写函数boolisMatch(String s, String p),完成正则表达式中“.”和“*”的功能。例: isMatch("aa","a")return false isMatch("aa","aa")return true isMatch("aaa","aa")return false isMatch("aa", "a*")return tru...
分类:编程语言   时间:2015-03-05 13:05:32    阅读次数:218
JavaScript常用属性
提交请求:一、超链接:location.href="/company/DP_Ajax.action?presentProduct.id="+id;(id是变量)二、表单:varform=document.getElementById(‘query‘);//‘query‘是from表单idform.submit();//提交验证格式:varregular=/^[0-9]{1,5}$/;if(num!=null&&regular.tes..
分类:编程语言   时间:2015-03-04 19:19:16    阅读次数:127
正则表达式基础(读书笔记)
正则表达式(regular expression,简称regex)是一种工具。 正则表达式的两种基本用途:查找和替换。   .字符(英文句号)可以匹配任何一个单个的字符。(.字符可以匹配任何单个的字符、数字、字母,甚至是.字符本身。) \转义字符,这是一个元字符(metacharacter,表示这个字符有特殊含义,而不是字符本身含义。)   (总结:.可以匹配任意字符;\用来对字符进行...
分类:其他好文   时间:2015-03-03 15:20:38    阅读次数:142
ruby regular Expressions
#!/usr/local/bin/ruby?-w def?show_regexp(a,re) ??if?a?=~?re ????"#{$`}<<#{$&}>>#{$‘}" ??else ????"no?match" ??end end puts?show_regexp(‘very?interesting‘,/t/) puts?show_re...
分类:其他好文   时间:2015-03-03 12:01:38    阅读次数:143
[LeetCode] 010. Regular Expression Matching (Hard) (C++/Java/Python)
[LeetCode] 010. Regular Expression Matching (Hard) (C++/Java/Python)...
分类:编程语言   时间:2015-03-02 13:15:14    阅读次数:142
正则表达式
http://files.cnblogs.com/JimmyZhang/Regular-Expression-Tutorial.pdf
分类:其他好文   时间:2015-03-01 18:28:10    阅读次数:115
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!