Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding element....
分类:
其他好文 时间:
2014-08-26 22:52:26
阅读次数:
203
一、装备
我个人PC环境是Ubuntu14+JDK7,所以下面的步骤及问题也是基于此进行及产生的。
二、Nodejs及npm的安装
这个安装的过程在网上有很多教程,这里就不详细讲了。
$ sudo apt-get install python
$ sudo apt-get install build-essential
$ sudo apt-get ins...
分类:
Web程序 时间:
2014-08-26 19:45:36
阅读次数:
549
Problem D: Airport ExpressIn a small city called Iokh, a train service,Airport-Express, takes residents to the airport more quickly than other transpo...
分类:
其他好文 时间:
2014-08-26 17:00:26
阅读次数:
210
http://www.cnblogs.com/seanlv/archive/2011/11/22/2258716.html1. 下载Node.js官方Windows版程序: http://nodejs.org/#download 从0.6.1开始,Node.js在Windows平台上提供了两...
分类:
Web程序 时间:
2014-08-26 15:18:06
阅读次数:
225
第一章 正则表达式概述正则表达式(Regular Expression)起源于人类神经系统的研究。正则表达式的定义有以下几种:l 用某种模式去匹配一类字符串的公式,它主要是用来描述字符串匹配的工具。l 描述了一种字符串匹配的模式。可以用来检查字符串是否含有某种子串、将匹配的子串做替换或者从中取出符合...
分类:
其他好文 时间:
2014-08-26 15:15:36
阅读次数:
264
PS:7月俺拖欠了篇文章,这篇文章先补7月的,内容比较多,看官辛苦了:)8月的文章正在整理中,争取最后几天输出,是介绍Express新版(4.0+)和Node模块方面的。 大多数公司都有新人培训这个课程,俺真心也是新人培训的收益者,在这过程里成长且明白职场中最直接、最简单的道理,比如“时薪的意义”....
分类:
其他好文 时间:
2014-08-26 15:04:30
阅读次数:
350
Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The...
分类:
其他好文 时间:
2014-08-25 16:20:54
阅读次数:
161
1 class Solution { 2 public: 3 bool isMatch(const char *s, const char *p) { 4 // Start typing your C/C++ solution below 5 // DO N...
分类:
其他好文 时间:
2014-08-25 13:16:14
阅读次数:
165
正则表达式的资源和工具汇集(下)作者:chszs,转载需注明。博客主页:http://blog.csdn.net/chszs8. RegEx Guide by Mozilla地址:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions这是来自Mozilla的正则表达式指南,它非常简单、明了。...
分类:
其他好文 时间:
2014-08-24 16:47:03
阅读次数:
223
123456789var app=require("express").createServer(); app.set("view engine","ejs"); app.get("/",function(req,res){ res.render("index",{"title":"test"});...
分类:
Web程序 时间:
2014-08-24 15:25:12
阅读次数:
242