1、 动态路由匹配 比如:(动态路由的高级匹配) https://github.com/vuejs/vue-router/blob/next/examples/route-matching/app.js 2、 编程式导航 (1)router.push(…) 使用router.push(…)【等同于< ...
分类:
其他好文 时间:
2016-10-28 15:15:18
阅读次数:
438
之前一直用如下sql来查看非绑定变量的sql,但是不准selecthash_value,substr(sql_text,1,80)
fromv$sqlarea
wheresubstr(sql_text,1,40)in
(selectsubstr(sql_text,1,40)
fromv$sqlarea
havingcount(*)>1
groupbysubstr(sql_text,1,40));
SELECTsubstr(sql_text,1,80),coun..
分类:
数据库 时间:
2016-10-27 01:55:24
阅读次数:
151
java.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addServlet java.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addFi ...
分类:
其他好文 时间:
2016-10-22 17:53:37
阅读次数:
247
The Stable Matching Problem originated, in part, in 1962, when David Gale and Lloyd Shapley, two mathematical economists, asked the question: Could on ...
分类:
其他好文 时间:
2016-10-21 23:46:58
阅读次数:
169
之前就写过了,但是没有在这写,今天重新写了一遍。 两个指针,一个维持pattern的位置,一个维持str的位置,每一次循环str的idx或者pattern的idx至少有一个会往后移动一步。 当strIdx < srtLen的时候 因为存在*这个pattern所以要进行尝试,加入*匹配0个、1个、2个 ...
分类:
其他好文 时间:
2016-10-15 07:40:09
阅读次数:
152
首先我们需要了解什么是模式匹配?
子串定位运算又称为模式匹配(Pattern Matching)或串匹配(String Matching)。在串匹配中,一般将主串称为目标串,将子串称为模式串。本篇博客...
分类:
编程语言 时间:
2016-10-06 17:42:48
阅读次数:
342
1.Approximate matching //to do 有没有比暴力方法更简洁的办法? 枚举pre的开始位置,相等的话,while循环找到local max 枚举post的结尾位置(从后往前),while循环找local max 注意循环的控制条件和index 1 private static ...
分类:
其他好文 时间:
2016-10-03 10:34:54
阅读次数:
772
In this tutorial we are going to learn how we can can configure redirects in the angular 2 router configuration. We are also going to see again anothe ...
分类:
其他好文 时间:
2016-10-03 00:08:08
阅读次数:
170
Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or more of the preceding elemen ...
分类:
其他好文 时间:
2016-10-02 00:28:27
阅读次数:
185
题目:Wildcard 链接:http://acm.hdu.edu.cn/showproblem.php?pid=3901 题意:给一个原串(只含小写字母)和一个模式串(含小写字母、?、* ,*号可替换为0到无穷个任意字母,?可替换为一个任意字母),问两个字符串是否匹配。 思路: 这是经典题吧。。。 ...
分类:
其他好文 时间:
2016-09-30 23:37:36
阅读次数:
245