码迷,mamicode.com
首页 >  
搜索关键字:regular expression    ( 4902个结果
表达式求值
#ifndef MAINFUNC_H#define MAINFUNC_H#include #include #include #include //1. Get the numbers//2. Modify the expression like (1+1*1)*(1-1); 1 represent...
分类:其他好文   时间:2014-05-18 19:54:02    阅读次数:514
linux grep命令
简介grep (global search regular expression(RE) and print out the line,全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。Unix的grep家族包括grep、egrep和fgr...
分类:系统相关   时间:2014-05-18 02:10:16    阅读次数:529
代码艺术 CountDownTimer
/** * Schedule a countdown until a time in the future, with regular notifications on intervals along the way. * * Example of showing a 30 second count...
分类:其他好文   时间:2014-05-16 04:21:02    阅读次数:311
Entity Framework 6.0 源码解读笔记(一)
internal static TResult ExecuteSingle(IEnumerable query, Expression queryRoot) { return GetElementFunction(queryRoot)(query)...
分类:其他好文   时间:2014-05-15 20:54:39    阅读次数:283
A coroutine example: Streaming XML parsing using xml_parser
send($data)`. The sent data will then* be the result of the `yield` expression. Thus it can be received using a code like* `$data = yield;`.*/ /* What...
分类:其他好文   时间:2014-05-15 17:46:37    阅读次数:311
leetcode第一刷_Regular Expression Matching
这道题跟有?和*的那道题很像,不过要简单一些。为什么会简单呢,因为*号只能匹配跟它前面相同的字符。需要注意一点,从aab可以用c*a*b来匹配可以看出,*号可以使他之前的那个字符出现次数变成0。 昨天实验室的同学正好在做这个题,说想用递归做,我想都没想就说用递归肯定超时了。她为什么,我跟人家说因为递归的分支太多了,可怎么也想不起当初自己是怎么写的,回来一看,居然用递归做的,打脸啊。。这个题为什么...
分类:其他好文   时间:2014-05-15 13:29:34    阅读次数:229
[LeetCode]Regular Expression Matching
Regular Expression Matching,正则表达式...
分类:其他好文   时间:2014-05-15 02:35:05    阅读次数:241
对于C11中的正则表达式的使用
Regular Expression Special Characters "."---Any single character(a "wildcard") "["---Begin character class "]"---End character class "{"---Begin count "}"---End count "("---Begin grouping ")"...
分类:其他好文   时间:2014-05-15 01:41:09    阅读次数:548
android
An intent service is similar to regular service, with two main exceptions: whatever work is to be done in onHandleIntent() will execute on a separate ...
分类:移动开发   时间:2014-05-14 22:53:39    阅读次数:395
LeetCode 010 Regular Expression Matching
【题目】 Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or more of the preceding element. The matching should cover the entire input string (not partial). The function prototype shoul...
分类:其他好文   时间:2014-05-14 21:36:52    阅读次数:348
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!