目录目录
思路
思路
AC代码思路Design a data structure that supports the following two operations:
void addWord(word)
bool search(word)
search(word) can search a literal word or a regular expression string cont...
分类:
其他好文 时间:
2015-05-18 16:44:38
阅读次数:
156
简介grep (global search regular expression(RE) and print out the line,全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。Unix的grep家族包括grep、egrep和fgr...
分类:
其他好文 时间:
2015-05-18 14:24:21
阅读次数:
221
Taha has got a standard deck of cards with him. In addition to the 52 regular ones, there are 2 joker cards. Every regular card has a rank and a suit. The ranks in ascending order are: A, 2, 3, 4, 5, 6...
分类:
其他好文 时间:
2015-05-18 09:10:39
阅读次数:
163
正則表達式学习參考1 概述正則表達式(Regular Expression)是一种匹配模式,描写叙述的是一串文本的特征。正如自然语言中“高大”、“牢固”等词语抽象出来描写叙述事物特征一样,正則表達式就是字符的高度抽象,用来描写叙述字符串的特征。正則表達式(下面简称正则,Regex)通常不独立存在,各...
分类:
其他好文 时间:
2015-05-17 15:00:32
阅读次数:
104
Design a data structure that supports the following two operations:void addWord(word)
bool search(word)
search(word) can search a literal word or a regular expression string containing only letters a...
分类:
其他好文 时间:
2015-05-16 20:38:35
阅读次数:
128
DescriptionLet us define a regular brackets sequence in the following way:Empty sequence is a regular sequence.If S is a regular sequence, then (S) an...
分类:
其他好文 时间:
2015-05-12 22:21:59
阅读次数:
115
http://files.cnblogs.com/files/LoveOrHate/font.rar@font-face { font-family: 'Glyphicons Regular'; src: url('../font/glyphicons-regular.eot'); src: ...
分类:
其他好文 时间:
2015-05-12 10:47:59
阅读次数:
139
Snoopy是一个php类,用来模拟浏览器的功能,可以获取网页内容,发送表单。Snoopy正确运行需要你的服务器的PHP版本在4以上,并且支持PCRE(Perl Compatible Regular Expressions),基本的LAMP服务都支持。Snoopy类的官网下载地址为:http://snoopy.sourceforge.net/
一、Snoopy的一些特点:
1.抓取网页的内...
分类:
其他好文 时间:
2015-05-11 22:08:19
阅读次数:
220
Snoopy是一个php类,用来模拟浏览器的功能,可以获取网页内容,发送表单。Snoopy正确运行需要你的服务器的PHP版本在4以上,并且支持PCRE(Perl Compatible Regular Expressions),基本的LAMP服务都支持。官方:http://sourceforge.ne...
分类:
其他好文 时间:
2015-05-10 23:58:17
阅读次数:
170
grep简介
grep (global search regular expression(RE) and print out the line,全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。Unix的grep家族包括grep、egrep和fgrep。egrep和fgrep的命令只跟grep有很小不同。egrep是grep的扩展,支持更...
分类:
其他好文 时间:
2015-05-10 11:33:18
阅读次数:
152