Android - 错误:"No resource found that matches the given name android:Theme.Material"本文地址: http://blog.csdn.net/caroline_wendy错误: "No resource found that matches the given name 'android:Theme.Material.L...
分类:
移动开发 时间:
2014-11-07 08:42:05
阅读次数:
172
在java doc里有String[] java.lang.String.split(String regex)Splits this string around matches of the given regular expression.This method works as if by i...
分类:
编程语言 时间:
2014-11-07 00:54:21
阅读次数:
334
正则表达式:主要应用于操作字符串,通过一些特定的符号来体现
举例:
QQ号的校验
6~9位,0不得开头,必须是数字
String类中有matches方法
matches(String regex)
告知此字符串是否匹配给定的正则表达式。
regex,就是给定的正则表达式
public static void checkQQ() {
//第一位是数字1-9,第二...
分类:
编程语言 时间:
2014-11-05 01:55:02
阅读次数:
303
grep "key" xxx.log时输出
Binary file xxx.log matches
百度了一下:grep认为这是二进制文件,解决方案:grep -a。
grep -a "key" xxx.log...
分类:
其他好文 时间:
2014-11-04 11:07:12
阅读次数:
175
首先这个问题的产生是由于缺少Theme.AppCompat.Light这个主题产生的,而这个主题 的是存在于android\support\appcompat-v7支持库中的,注意不是jar包。No resource found that matches the given name 'Theme....
分类:
移动开发 时间:
2014-10-29 10:41:35
阅读次数:
166
Implement wildcard pattern matching with support for '?' and '*'.
'?' Matches any single character.
'*' Matches any sequence of characters (including the empty sequence).
The matching should cover t...
分类:
其他好文 时间:
2014-10-26 13:08:38
阅读次数:
172
如何从URL中获取参数是一个很基本的问题。首先假定URL是合法的,code 如下,欢迎各位大大code review.1. 可以使用一个match和循环splitfunction findQueriesFromUrl(url){ var regex, matches, i, length, p...
分类:
编程语言 时间:
2014-10-24 23:34:25
阅读次数:
240
1、二次打包时报错:Error retrieving parent for item: No resource found that matches the given name
如:
D:\用户目录\Desktop\APP反编译\Android反编译工具包(最新版)\apk2java\apktool1.4.
1\HJ7\res\values\styles.xml:11: error: Err...
分类:
移动开发 时间:
2014-10-23 17:41:36
阅读次数:
222
0?$matches[0]:''; function CheckSubstrs($substrs,$text){ foreach($substrs as $substr) if(false!==strpos($text,$substr...
分类:
移动开发 时间:
2014-10-18 09:41:37
阅读次数:
205
Problem:Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or more of the precedin...
分类:
其他好文 时间:
2014-10-14 02:10:07
阅读次数:
221