1 String a = "1991\12\16";2 String[] split = a.split("\\");3 System.out.println(new Gson().toJson(split));报错java.util.regex.Pa...
分类:
编程语言 时间:
2016-01-26 00:30:22
阅读次数:
450
import java.util.regex.Matcher;import java.util.regex.Pattern;public class RegexMatches{ public static void main( String args[] ){ // ...
分类:
编程语言 时间:
2016-01-25 19:18:33
阅读次数:
149
1 { 2 "cmd": "g++ \"${file}\" -o \"${file_path}/${file_base_name}\"", 3 "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", 4 "workin...
分类:
编程语言 时间:
2016-01-25 12:45:34
阅读次数:
134
db.transactions.find({"_id":{"$gt":ObjectId("16a4f6b7d1adb1796ce2e091")},"userId": {$regex:'89A105e1',$options: 'i'}}) * ^ $ db.transactions.find({"_i...
分类:
其他好文 时间:
2016-01-25 06:37:19
阅读次数:
179
vbs-获取公网IP调用邮件控件实现邮件的自动发送到指定邮箱-可直接使用复制使用onerrorresumenext
setie=CreateObject("internetexplorer.application")
ie.navigate("http://ip.cn/")
ie.Visible=False
Whileie.busyOrie.readystate<>4
WEnd
SetregEx=NewRegExp
regEx.Pa..
分类:
其他好文 时间:
2016-01-22 18:32:00
阅读次数:
153
壹Try胜仟言别忘了 import scala.util.matching._scala> var s = "a_b_c_d_e"s: String = a_b_c_d_escala> val regex = new Regex("^([^_]*)_([^_]*)_([^_]*)_(.*)$")re...
分类:
其他好文 时间:
2016-01-21 19:24:07
阅读次数:
109
# Word count on manuscript using PySpark# import regex moduleimport re# import add from operator modulefrom operator import add# read input filefile_i...
分类:
其他好文 时间:
2016-01-21 10:30:13
阅读次数:
633
package com.demo.regex;import java.util.regex.Matcher;import java.util.regex.Pattern;/** * @author Administrator * */public class RegexMatches { pu...
分类:
编程语言 时间:
2016-01-20 01:02:57
阅读次数:
159
hive字符串分割函数split(str, regex) - Splits str around occurances that match regexTime taken: 0.769 seconds, Fetched: 1 row(s)返回值为一个数组a.基本用法:例1:split('a,b,c...
分类:
其他好文 时间:
2016-01-19 14:23:50
阅读次数:
151
static string ConvertToChinese(double x){string s = x.ToString("#L#E#D#C#K#E#D#C#J#E#D#C#I#E#D#C#H#E#D#C#G#E#D#C#F#E#D#C#.0B0A");string d = Regex.Repl...
分类:
其他好文 时间:
2016-01-17 23:10:20
阅读次数:
161