一、grep使用 (一)、选项 (二)、元字符 (三)、命令格式 管道格式 grep 程序的输入可以来自标准输入或者管道,而不仅仅是文件,例如: 二、示例 三、实战 ...
分类:
其他好文 时间:
2018-08-04 20:37:22
阅读次数:
164
问题描述: Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a ...
分类:
其他好文 时间:
2018-08-03 10:41:17
阅读次数:
145
做一个如图所示的布局。 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="matc ...
分类:
其他好文 时间:
2018-08-03 01:05:30
阅读次数:
180
http://acm.hdu.edu.cn/showproblem.php?pid=2134 Problem Description Ice cream took a bronze medal in the Beijing match. Liu sir is very very happy. So ...
分类:
其他好文 时间:
2018-08-03 00:59:42
阅读次数:
151
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" andr ...
分类:
移动开发 时间:
2018-08-03 00:53:47
阅读次数:
212
java中的正则表达式: 1:常见的表示规则: 例子:1:判断是否是手机号是否以13或18开头,满足11位: 2:验证邮箱: ...
分类:
编程语言 时间:
2018-08-02 20:54:22
阅读次数:
195
import re'''正则表达式:re.match:从头匹配re.search:浏览全部字符串,匹配第一个符合规则的字符串re.findall():将匹配到得的所有内容都放置在一个列表中#re.finditer():re.split():re.sub():''''''1.match'''origi ...
分类:
其他好文 时间:
2018-08-02 17:42:44
阅读次数:
183
elk6.3.1+zookeeper+kafka+filebeat收集dockerswarm容器日志
分类:
其他好文 时间:
2018-08-02 13:58:49
阅读次数:
259
如题,logstash之filter处理中括号包围的内容: 摘出来数组中的所有fields 感谢时总的大力支持!!! 核心就是正则! match => { "message" => "^\[%{GREEDYDATA:request}\]$" } ...
分类:
其他好文 时间:
2018-08-02 12:19:52
阅读次数:
825