正则表达式 Frank from
|
|
- Antony Norman Sutton
- 6 years ago
- Views:
Transcription
1 符号 英文说明 中文说明 \n Matches a newline character 新行 \r Matches a carriage return character 回车 \t Matches a tab character Tab 键 \0 Matches a null character Matches either an a, b or c character [abc] [^abc] [a-z] [^a-z] [a-za-z] [[:alnum:]] [[:alpha:]] [[:ascii:]] [[:blank:]] [[:cntrl:]] [[:digit:]] [[:graph:]] [[:lower:]] [[:print:]] [[:punct:]] /[abc]+/ a bb ccc Matches any character except for an a, b or c /[^abc]+/ Anything but abc. Matches any characters between a and z, including a and z /[a-z]+/ Only a-z Matches any characters except one in the range a-z /[^a-z]+/ Anything but a-z. Matches any characters between a-z or A-Z. You can combine as much as you please. /[a-za-z]+/ abc123def An alternate way to match any letter or digit /[[:alnum:]]/ 1st, 2nd, and 3rd. An alternate way to match alpanumeric letters /[[:alpha:]]+/ hello, there! Matches spaces and tabs (but not newlines) /[[:blank:]]/ Matches characters that are often used to control text presentation, including newlines, null characters, tabs and the escape character. Equivalent to [\x00-\x1f\x7f]. Matches decimal digits. Equivalent to [0-9]. /[[:digit:]]/ one: 1, two: 2 Matches printable, non-whitespace characters only. Matches lowercase letters. Equivalent to [a-z]. /[[:lower:]]+/ abcdefghi Matches printable characters, such as letters and spaces, without including control characters. Matches characters that are not whitespace, letters or numbers. 匹配某一个字符不匹配这些字符匹配 a 到 z 之间的字符匹配 a 到 z 之外的字符匹配字母 第 1 页
2 /[[:punct:]]/ hello, regex user! Matches whitespace characters. Equivalent to \s. [[:space:]] /[[:space:]]+/ any whitespace character Matches uppercase letters. Equivalent to [A-Z]. [[:upper:]] /[[:upper:]]+/ ABCabcDEF Matches letters, numbers and underscores. Equivalent to \w [[:word:]] /[[:word:]]+/ any word character Matches hexadecimal digits. Equivalent to [0-9a-fA-F]. [[:xdigit:]]. \s \S \d \D \w \W /[[:xdigit:]]+/ hex123! Matches any character other than newline (or including newline with the /s flag) /.+/ Matches any space, tab or newline character. /\s/ any whitespace character Matches anything other than a space, tab or newline. /\S+/ any non-whitespace Matches any decimal digit. Equivalent to [0-9]. /\d/ one: 1, two: 2 Matches anything other than a decimal digit. /\D+/ one: 1, two: 2 Matches any letter, number or underscore. /\w+/ any word character Matches anything other than a letter, number or underscore. /\W+/ any word character 匹配所有字符, 除了新行匹配所有空白字符匹配所有非空白字符匹配所有数字匹配所有非数字匹配任意字母数字或下划线匹配除了数字字母下划线之外的字符 \X Matches any valid unicode sequence \C Matches exactly one data unit of input \R Matches any unicode newline character. \v Matches newlines and vertical tabs. Works with unicode. \V Matches anything not matched by \v \h Matches spaces and horizontal tabs. Works with unicode. /\h/
3 Matches anything not matched by \H. \H \K \n /\H/ Sets the given position in the regex as the new "start" of the match. This means that nothing preceding the \K will be captured in the overall match. Usually referred to as a `backreference`, this will match a repeat of the text captured in a previous set of parentheses. Matches a unicode character with the given property. \px /\pl+/ Matches a unicode character with the given group of properties. \p{ } /\p{l}+/ Matches a unicode character without the given property. \PX \P{ } \Q \E \k<name> \k name \k{name} \gn \g{n} \g{-n} \g name \g<n> \g n \g<+n> \g +n /\PL/ Matches a unicode character that doesn't have any of the given properties. /\P{L}/ Any characters between \Q and \E, including metacharacters, will be treated as literals. /\Qeverything \w is ^ literal\e/ everything \w is ^ literal Matches the text matched by a previously named capture group. This is an alternate syntax for \k<name>. This is an alternate syntax for \k<name>. This matches the text captured in the nth group. n can contain more than one digit, if necessary. This may be useful in order to avoid ambiguity with octal characters. This is an alternate syntax for \gn. It can be useful in a situation where a literal number needs to be matched immediately after a \gn in the regex. This matches the text captured in the nth group before the current position in the regex. Recursively matches the given named subpattern. Recursively matches the given subpattern. Alternate syntax for \g<n> Recursively matches the nth pattern ahead of the current position in the regex. Alternate syntax for \g<+n> Matches the 8-bit character with the given hex value. \xyy /\x20/ match all spaces
4 \x{yyyy} Matches the 16-bit character with the given hex value. Matches the 8-bit character with the given octal value. \ddd \cy [\b] /\041/ ocal escape! Matches ASCII characters typically associated with the Control+A through Control+Z: \x01 through \x1a Matches the backspace control character. \ ( ) (a b) (?: ) (?> ) (? ) This may be used to obtain the literal value of any metacharacter. /\\w/ match \w literally Parts of the regex enclosed in parentheses may be referred to later in the expression or extracted from the results of a successful match. /(he)+/ heheh he heh Matches the a or the b part of the subexpression. This construct is similar to (...), but won't create a capture group. /(?:he)+/ heheh he heh Matches the longest possible substring in the group and doesn't allow later backtracking to reevaluate the group. Any subpatterns in (...) in such a group share the same number. 转义字符 捕获所有 () 内的内容 匹配 的内容但是不捕获 (?#...) Any text appearing in this group is ignored in the regex. (? name ) (?<name> ) (?P<name> ) This capturing group can be referred to using the given name instead of a number. This capturing group can be referred to using the given name instead of a number. This capturing group can be referred to using the given name instead of a number. These enable setting regex flags within the expression itself. (?imsxxu) (?( ) ) (?R) /a(?i)a/ aa Aa aa AA If the given pattern matches, matches the pattern before the vertical bar. Otherwise, matches the pattern after the vertical bar. Recursively match the entire expression. (?1) Recursively match the first subpattern. (?+1) (?&name) (?P=name) (?P>name) Recursively match the first pattern following the given position in the expression. Recursively matches the given named subpattern. Matches the text matched by a previously named capture group. Recursively matches the given named subpattern. Matches the given subpattern without consuming characters (?= ) /foo(?=bar)/ foobar foobaz (?!...) Starting at the current position in the expression, ensures that the given pattern will not match. Does not consume characters.
5 /foo(?!bar)/ foobar foobaz (?<= ) (?<!...) (*UTF16) Ensures that the given pattern will match, ending at the current position in the expression. Does not consume any characters. /(?<=foo)bar/ foobar foobaz Ensures that the given pattern would not match and end at the current position in the expression. Does not consume characters. /(?<!not )foo/ not foo but foo Verbs allow for advanced control of the regex engine. Full specs can be found in pcre.txt a? a* a+ a{3} a{3,} a{3,6} a.* a*? a*+ \G ^ Matches an `a` character or nothing. /ba?/ ba b a Matches zero or more consecutive `a` characters. /ba*/ a ba baa aaa ba b Matches one or more consecutive `a` characters. /a+/ a aa aaa aaaa bab baab Matches exactly 3 consecutive `a` characters. /a{3}/ a aa aaa aaaa Matches at least 3 consecutive `a` characters. /a{3,}/ a aa aaa aaaa aaaaaa Matches between 3 and 6 (inclusive) consecutive `a` characters. /a{3,6}/ a aa aaa aaaa aaaaaaaaaa Matches as many characters as possible. /a.*a/ greedy can be dangerous at times Matches as few characters as possible. /r\w*?/ r re regex Matches as many characters as possible; backtracking can't reduce the number of characters matched. This will match at the position the previous successful match ended. Useful with the /g flag. Matches the start of a string without consuming any characters. If multiline mode is used, this will also match immediately after a newline character. /^\w+/ start of string? 表示一次或没有 * 表示 0 次或多次 + 表示 1 次或多次准确地,3 次重复 3 次以上重复 3 次到 6 次重复. 表示任意字符 ;.* 表示任意长度的串总体表示匹配尽可能长的串匹配尽可能短的串 $ Matches the end of a string without consuming any characters. If multiline mode is used, this will also match immediately before a
6 newline character. /\w+$/ end of string \A \Z \z Matches the start of a string only. Unlike ^, this is not affected by multiline mode. /\A\w+/ start of string Matches the end of a string only. Unlike $, this is not affected by multiline mode. /\w+\z/ end of string Matches the end of a string only. Unlike $, this is not affected by multiline mode, and, in contrast to \Z, will not match before a trailing newline at the end of a string. /\w+\z/ absolute end of string \b \B g m i x s u X U Matches, without consuming any characters, immediately between a character matched by \w and a character not matched by \w (in either order). /d\b/ word boundaries are odd Matches, without consuming any characters, at the position between two characters matched by \w. /r\b/ regex is really cool Tells the engine not to stop after the first match has been found, but rather to continue until no more matches can be found. The ^ and $ anchors now match at the beginning/end of each line respectively, instead of beginning/end of the entire string. A case insensitive match is performed, meaning capital letters will be matched by non-capital letters and vice versa. This flag tells the engine to ignore all whitespace and allow for comments in the regex. Comments are indicated by a starting "#"-character. The dot (.) metacharacter will with this flag enabled also match new lines. Pattern strings will be treated as UTF-16. Any character following a \ that is not a valid meta sequence will be faulted and raise an error. The engine will per default do lazy matching, instead of greedy. This means that a? following a quantifier instead makes it greedy. A The pattern is forced to become anchored, equal to ^. \0 This will return a string with the complete match result from the regex. \1 $1 This will return a string with the contents from the first capture group. The number, in this case 1, can be any number as long as it corresponds to a valid capture group. This will return a string with the contents from the first capture group. The number, in this case 1, can be any number as long as it corresponds to a valid capture group.
7 ${foo} \{foo} \g,foo> \g<1> \x20 \x{06fa} This will return a string with the contents from the capture group named `foo`. Any name can be used as long as it is defined in the regex. This syntax is made up and specific to only Regex101. If the J-flag is specified, content will be taken from the first capture group with the same name. This will return a string with the contents from the capture group named `foo`. Any name can be used as long as it is defined in the regex. This syntax is made up and specific to only Regex101. If the J-flag is specified, content will be taken from the first capture group with the same name. This will return a string with the contents from the capture group named `foo`. Any name can be used as long as it is defined in the regex. If the J-flag is specified, content will be taken from the first capture group with the same name. This will return a string with the contents from the first capture group. The number, in this case 1, can be any number as long as it corresponds to a valid capture group. You can use hexadecimals to insert any character into the replacement string using the standard syntax. You can use hexadecimals to insert any character into the replacement string using the standard syntax. \t Insert a tab character. \r Insert a carriage return character. \n Insert a newline character. \f Insert a form-feed character.
=~ determines to which variable the regex is applied. In its absence, $_ is used.
NAME DESCRIPTION OPERATORS perlreref - Perl Regular Expressions Reference This is a quick reference to Perl's regular expressions. For full information see perlre and perlop, as well as the SEE ALSO section
More informationPaolo Santinelli Sistemi e Reti. Regular expressions. Regular expressions aim to facilitate the solution of text manipulation problems
aim to facilitate the solution of text manipulation problems are symbolic notations used to identify patterns in text; are supported by many command line tools; are supported by most programming languages;
More informationRegular Expressions. Michael Wrzaczek Dept of Biosciences, Plant Biology Viikki Plant Science Centre (ViPS) University of Helsinki, Finland
Regular Expressions Michael Wrzaczek Dept of Biosciences, Plant Biology Viikki Plant Science Centre (ViPS) University of Helsinki, Finland November 11 th, 2015 Regular expressions provide a flexible way
More informationRegular Expressions. Regular expressions are a powerful search-and-replace technique that is widely used in other environments (such as Unix and Perl)
Regular Expressions Regular expressions are a powerful search-and-replace technique that is widely used in other environments (such as Unix and Perl) JavaScript started supporting regular expressions in
More informationRegular Expressions. Computer Science and Engineering College of Engineering The Ohio State University. Lecture 9
Regular Expressions Computer Science and Engineering College of Engineering The Ohio State University Lecture 9 Language Definition: a set of strings Examples Activity: For each above, find (the cardinality
More informationRegular Expressions Overview Suppose you needed to find a specific IPv4 address in a bunch of files? This is easy to do; you just specify the IP
Regular Expressions Overview Suppose you needed to find a specific IPv4 address in a bunch of files? This is easy to do; you just specify the IP address as a string and do a search. But, what if you didn
More informationICP Enablon User Manual Factory ICP Enablon 用户手册 工厂 Version th Jul 2012 版本 年 7 月 16 日. Content 内容
Content 内容 A1 A2 A3 A4 A5 A6 A7 A8 A9 Login via ICTI CARE Website 通过 ICTI 关爱网站登录 Completing the Application Form 填写申请表 Application Form Created 创建的申请表 Receive Acknowledgement Email 接收确认电子邮件 Receive User
More informationPCU50 的整盘备份. 本文只针对操作系统为 Windows XP 版本的 PCU50 PCU50 启动硬件自检完后, 出现下面文字时, 按向下光标键 光标条停在 SINUMERIK 下方的空白处, 如下图, 按回车键 PCU50 会进入到服务画面, 如下图
PCU50 的整盘备份 本文只针对操作系统为 Windows XP 版本的 PCU50 PCU50 启动硬件自检完后, 出现下面文字时, 按向下光标键 OS Loader V4.00 Please select the operating system to start: SINUMERIK Use and to move the highlight to your choice. Press Enter
More informationOTAD Application Note
OTAD Application Note Document Title: OTAD Application Note Version: 1.0 Date: 2011-08-30 Status: Document Control ID: Release _OTAD_Application_Note_CN_V1.0 Copyright Shanghai SIMCom Wireless Solutions
More informationBioinformatics Programming. EE, NCKU Tien-Hao Chang (Darby Chang)
Bioinformatics Programming EE, NCKU Tien-Hao Chang (Darby Chang) 1 Regular Expression 2 http://rp1.monday.vip.tw1.yahoo.net/res/gdsale/st_pic/0469/st-469571-1.jpg 3 Text patterns and matches A regular
More informationRegular Expressions!!
Regular Expressions!! In your mat219_class project 1. Copy code from D2L to download regex-prac9ce.r, and run in the Console. 2. Open a blank R script and name it regex-notes. library(tidyverse) regular
More informationCommand Dictionary CUSTOM
命令模式 CUSTOM [(filename)] [parameters] Executes a "custom-designed" command which has been provided by special programming using the GHS Programming Interface. 通过 GHS 程序接口, 执行一个 用户设计 的命令, 该命令由其他特殊程序提供 参数说明
More informationnbns-list netbios-type network next-server option reset dhcp server conflict 1-34
目录 1 DHCP 1-1 1.1 DHCP 公共命令 1-1 1.1.1 dhcp dscp 1-1 1.1.2 dhcp enable 1-1 1.1.3 dhcp select 1-2 1.2 DHCP 服务器配置命令 1-3 1.2.1 address range 1-3 1.2.2 bims-server 1-4 1.2.3 bootfile-name 1-5 1.2.4 class 1-6
More informationperlrebackslash - Perl Regular Expression Backslash Sequences and Escapes
NAME DESCRIPTION The backslash perlrebackslash - Perl Regular Expression Backslash Sequences and Escapes The top level documentation about Perl regular expressions is found in perlre. This document describes
More informationPrevious on Computer Networks Class 18. ICMP: Internet Control Message Protocol IP Protocol Actually a IP packet
ICMP: Internet Control Message Protocol IP Protocol Actually a IP packet 前 4 个字节都是一样的 0 8 16 31 类型代码检验和 ( 这 4 个字节取决于 ICMP 报文的类型 ) ICMP 的数据部分 ( 长度取决于类型 ) ICMP 报文 首部 数据部分 IP 数据报 ICMP: Internet Control Message
More informationThis page covers the very basics of understanding, creating and using regular expressions ('regexes') in Perl.
NAME DESCRIPTION perlrequick - Perl regular expressions quick start Perl version 5.16.2 documentation - perlrequick This page covers the very basics of understanding, creating and using regular expressions
More informationSkill-building Courses Business Analysis Lesson 3 Problem Solving
Skill-building Courses Business Analysis Lesson 3 Problem Solving Review Software Development Life Cycle/Agile/Scrum Learn best practices for collecting and cleaning data in Excel to ensure accurate analysis
More informationIntroduction to Regular Expressions Version 1.3. Tom Sgouros
Introduction to Regular Expressions Version 1.3 Tom Sgouros June 29, 2001 2 Contents 1 Beginning Regular Expresions 5 1.1 The Simple Version........................ 6 1.2 Difficult Characters........................
More informationLecture 3 for pipelining
Lecture 3 for pipelining The control hazard How to solve the control hazard Pipelining Hazards Taxonomy of Hazards Structural hazards These are conflicts over hardware resources. OK, maybe add extra hardware
More informationRegular Expression Reference
APPENDIXB PCRE Regular Expression Details, page B-1 Backslash, page B-2 Circumflex and Dollar, page B-7 Full Stop (Period, Dot), page B-8 Matching a Single Byte, page B-8 Square Brackets and Character
More informationServer-side Web Development (I3302) Semester: 1 Academic Year: 2017/2018 Credits: 4 (50 hours) Dr Antoun Yaacoub
Lebanese University Faculty of Science Computer Science BS Degree Server-side Web Development (I3302) Semester: 1 Academic Year: 2017/2018 Credits: 4 (50 hours) Dr Antoun Yaacoub 2 Regular expressions
More informationConfiguring the RADIUS Listener LEG
CHAPTER 16 Revised: July 28, 2009, Introduction This module describes the configuration procedure for the RADIUS Listener LEG. The RADIUS Listener LEG is configured using the SM configuration file p3sm.cfg,
More informationHere's an example of how the method works on the string "My text" with a start value of 3 and a length value of 2:
CS 1251 Page 1 Friday Friday, October 31, 2014 10:36 AM Finding patterns in text A smaller string inside of a larger one is called a substring. You have already learned how to make substrings in the spreadsheet
More informationNew Media Data Analytics and Application. Lecture 7: Information Acquisition An Integration Ting Wang
New Media Data Analytics and Application Lecture 7: Information Acquisition An Integration Ting Wang Outlines Product-Oriented Data Collection Make a Web Crawler System Integration You should know your
More informationZWO 相机固件升级参考手册. ZWO Camera Firmware Upgrade reference manual. 版权所有 c 苏州市振旺光电有限公司 保留一切权利 非经本公司许可, 任何组织和个人不得擅自摘抄 复制本文档内容的部分或者全部, 并
ZWO 相机固件升级参考手册 ZWO Camera Firmware Upgrade reference manual 文档编号 :ZW1802240ACSC ZWO Co., Ltd. Phone:+86 512 65923102 Web: http://www.zwoptical.com 版权所有 c 苏州市振旺光电有限公司 2015-2035 保留一切权利 非经本公司许可, 任何组织和个人不得擅自摘抄
More informationpsed [-an] script [file...] psed [-an] [-e script] [-f script-file] [file...]
NAME SYNOPSIS DESCRIPTION OPTIONS psed - a stream editor psed [-an] script [file...] psed [-an] [-e script] [-f script-file] [file...] s2p [-an] [-e script] [-f script-file] A stream editor reads the input
More informationRegular Expressions. Todd Kelley CST8207 Todd Kelley 1
Regular Expressions Todd Kelley kelleyt@algonquincollege.com CST8207 Todd Kelley 1 POSIX character classes Some Regular Expression gotchas Regular Expression Resources Assignment 3 on Regular Expressions
More informationRegex, Sed, Awk. Arindam Fadikar. December 12, 2017
Regex, Sed, Awk Arindam Fadikar December 12, 2017 Why Regex Lots of text data. twitter data (social network data) government records web scrapping many more... Regex Regular Expressions or regex or regexp
More informationThe Design of Everyday Things
The Design of Everyday Things Byron Li Copyright 2009 Trend Micro Inc. It's Not Your Fault Donald A. Norman & His Book Classification 03/17/11 3 Norman Door Why Learn to think from different aspects Contribute
More informationPerl Regular Expressions. Perl Patterns. Character Class Shortcuts. Examples of Perl Patterns
Perl Regular Expressions Unlike most programming languages, Perl has builtin support for matching strings using regular expressions called patterns, which are similar to the regular expressions used in
More informationAWK - PRETTY PRINTING
AWK - PRETTY PRINTING http://www.tutorialspoint.com/awk/awk_pretty_printing.htm Copyright tutorialspoint.com So far we have used AWK's print and printf functions to display data on standard output. But
More information如何查看 Cache Engine 缓存中有哪些网站 /URL
如何查看 Cache Engine 缓存中有哪些网站 /URL 目录 简介 硬件与软件版本 处理日志 验证配置 相关信息 简介 本文解释如何设置处理日志记录什么网站 /URL 在 Cache Engine 被缓存 硬件与软件版本 使用这些硬件和软件版本, 此配置开发并且测试了 : Hardware:Cisco 缓存引擎 500 系列和 73xx 软件 :Cisco Cache 软件版本 2.3.0
More informationSTREAM EDITOR - REGULAR EXPRESSIONS
STREAM EDITOR - REGULAR EXPRESSIONS http://www.tutorialspoint.com/sed/sed_regular_expressions.htm Copyright tutorialspoint.com It is the regular expressions that make SED powerful and efficient. A number
More informationPattern Matching. An Introduction to File Globs and Regular Expressions
Pattern Matching An Introduction to File Globs and Regular Expressions Copyright 2006 2009 Stewart Weiss The danger that lies ahead Much to your disadvantage, there are two different forms of patterns
More informationPattern Matching. An Introduction to File Globs and Regular Expressions. Adapted from Practical Unix and Programming Hunter College
Pattern Matching An Introduction to File Globs and Regular Expressions Adapted from Practical Unix and Programming Hunter College Copyright 2006 2009 Stewart Weiss The danger that lies ahead Much to your
More information实验三十三 DEIGRP 的配置 一 实验目的 二 应用环境 三 实验设备 四 实验拓扑 五 实验要求 六 实验步骤 1. 掌握 DEIGRP 的配置方法 2. 理解 DEIGRP 协议的工作过程
实验三十三 DEIGRP 的配置 一 实验目的 1. 掌握 DEIGRP 的配置方法 2. 理解 DEIGRP 协议的工作过程 二 应用环境 由于 RIP 协议的诸多问题, 神州数码开发了与 EIGRP 完全兼容的 DEIGRP, 支持变长子网 掩码 路由选择参考更多因素, 如带宽等等 三 实验设备 1. DCR-1751 三台 2. CR-V35FC 一条 3. CR-V35MT 一条 四 实验拓扑
More informationNAME DESCRIPTION. Modifiers. Perl version documentation - perlre. perlre - Perl regular expressions
NAME DESCRIPTION Modifiers perlre - Perl regular expressions This page describes the syntax of regular expressions in Perl. If you haven't used regular expressions before, a quick-start introduction is
More informationThe CSV data parser plugin PRINTED MANUAL
The CSV data parser plugin PRINTED MANUAL CSV data parser plugin All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including
More informationSafe Memory-Leak Fixing for C Programs
Safe Memory-Leak Fixing for C Programs Qing Gao, Yingfei Xiong, Yaqing Mi, Lu Zhang, Weikun Yang, Zhaoing Zhou, Bing Xie, Hong Mei Institute of Software, Peking Unversity 内存管理 安全攸关软件的开发必然涉及内存管理问题 软件工程经典问题,
More informationOperating Systems. Chapter 4 Threads. Lei Duan
Operating Systems Chapter 4 Threads Lei Duan leiduan@scu.edu.cn 2015.2 Agenda 4.1 Processes and Threads 4.2 Types of Threads 4.3 Multicore and Multithreading 4.4 Summary 2015-04-01 2/49 Agenda 4.1 Processes
More informationAppendix. As a quick reference, here you will find all the metacharacters and their descriptions. Table A-1. Characters
Appendix As a quick reference, here you will find all the metacharacters and their descriptions. Table A-1. Characters. Any character [] One out of an inventory of characters [ˆ] One not in the inventory
More informationJava Basic Datatypees
Basic Datatypees Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in the memory. Based on the data type of a variable,
More information<properties> <jdk.version>1.8</jdk.version> <project.build.sourceencoding>utf-8</project.build.sourceencoding> </properties>
SpringBoot 的基本操作 一 基本概念在 spring 没有出现的时候, 我们更多的是使用的 Spring,SpringMVC,Mybatis 等开发框架, 但是要将这些框架整合到 web 项目中需要做大量的配置,applicationContext.xml 以及 servlet- MVC.xml 文件等等, 但是这些文件还还不够, 还需要配置 web.xml 文件进行一系列的配置 以上操作是比较麻烦的,
More informationA Benchmark For Stroke Extraction of Chinese Characters
2015-09-29 13:04:51 http://www.cnki.net/kcms/detail/11.2442.n.20150929.1304.006.html 北京大学学报 ( 自然科学版 ) Acta Scientiarum Naturalium Universitatis Pekinensis doi: 10.13209/j.0479-8023.2016.025 A Benchmark
More informationDo case-insensitive pattern matching. If use locale is in effect, the case map is taken from the current locale. See perllocale.
NAME DESCRIPTION Modifiers perlre - Perl regular expressions This page describes the syntax of regular expressions in Perl. If you haven't used regular expressions before, a quick-start introduction is
More informationEssentials for Scientific Computing: Stream editing with sed and awk
Essentials for Scientific Computing: Stream editing with sed and awk Ershaad Ahamed TUE-CMS, JNCASR May 2012 1 Stream Editing sed and awk are stream processing commands. What this means is that they are
More informationMost times, the pattern is evaluated in double-quotish context, but it is possible to choose delimiters to force single-quotish, like
NAME DESCRIPTION The Basics perlre - Perl regular expressions This page describes the syntax of regular expressions in Perl. Perl version 5.26.1 documentation - perlre If you haven't used regular expressions
More informationRegular Expressions. Regular Expression Syntax in Python. Achtung!
1 Regular Expressions Lab Objective: Cleaning and formatting data are fundamental problems in data science. Regular expressions are an important tool for working with text carefully and eciently, and are
More informationPowerGREP. Manual. Version October 2005
PowerGREP Manual Version 3.2 3 October 2005 Copyright 2002 2005 Jan Goyvaerts. All rights reserved. PowerGREP and JGsoft Just Great Software are trademarks of Jan Goyvaerts i Table of Contents How to
More information<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> <!--- global properties --> <property>
1 重读配置文件 core-site.xml 要利用 Java 客户端来存取 HDFS 上的文件, 不得不说的是配置文件 hadoop-0.20.2/conf/core-site.xml 了, 最初我就是在这里吃了大亏, 所以我死活连不 上 HDFS, 文件无法创建 读取
More informationGuidelines for TCLT7 Full Size Paper Submission
Disclaimer Guidelines for TCLT7 Full Size Paper Submission Proceedings Editors TCLT7 Organization Committee editor@tclt.us Individual authors (NOT TCLT or TCLT7 sponsoring institutions and organizers)
More information上汽通用汽车供应商门户网站项目 (SGMSP) User Guide 用户手册 上汽通用汽车有限公司 2014 上汽通用汽车有限公司未经授权, 不得以任何形式使用本文档所包括的任何部分
上汽通用汽车供应商门户网站项目 (SGMSP) User Guide 用户手册 上汽通用汽车有限公司 2014 上汽通用汽车有限公司未经授权, 不得以任何形式使用本文档所包括的任何部分 SGM IT < 上汽通用汽车供应商门户网站项目 (SGMSP)> 工作产品名称 :< User Guide 用户手册 > Current Version: Owner: < 曹昌晔 > Date Created:
More informationLogitech G302 Daedalus Prime Setup Guide 设置指南
Logitech G302 Daedalus Prime Setup Guide 设置指南 Logitech G302 Daedalus Prime Contents / 目录 English................. 3 简体中文................. 6 2 Logitech G302 Daedalus Prime 1 On 2 USB Your Daedalus Prime
More informationOpenCascade 的曲面.
在 OpenSceneGraph 中绘制 OpenCascade 的曲面 eryar@163.com 摘要 Abstract : 本文对 OpenCascade 中的几何曲面数据进行简要说明, 并结合 OpenSceneGraph 将这些曲面显示 关键字 Key Words:OpenCascade OpenSceneGraph Geometry Surface NURBS 一 引言 Introduction
More informationConfiguring the RADIUS Listener Login Event Generator
CHAPTER 19 Configuring the RADIUS Listener Login Event Generator Published: December 21, 2012 Introduction This chapter describes the configuration procedure for the RADIUS listener Login Event Generator
More informationVAS 5054A FAQ ( 所有 5054A 整合, 中英对照 )
VAS 5054A FAQ ( 所有 5054A 整合, 中英对照 ) About Computer Windows System Requirements ( 电脑系统要求方面 ) 问 :VAS 5054A 安装过程中出现错误提示 :code 4 (corrupt cabinet) 答 : 客户电脑系统有问题, 换 XP 系统安装 Q: When vas5054 install, an error
More informationThe ASCII data query and parser plugin PRINTED MANUAL
The ASCII data query and parser plugin PRINTED MANUAL ASCII data query and parser plugin All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic,
More informationCHINA VISA APPLICATION CONCIERGE SERVICE*
TRAVEL VISA PRO ORDER FORM Call us for assistance 866-378-1722 Fax 866-511-7599 www.travelvisapro.com info@travelvisapro.com CHINA VISA APPLICATION CONCIERGE SERVICE* Travel Visa Pro will review your documents
More informationUnderstanding IO patterns of SSDs
固态硬盘 I/O 特性测试 周大 众所周知, 固态硬盘是一种由闪存作为存储介质的数据库存储设备 由于闪存和磁盘之间物理特性的巨大差异, 现有的各种软件系统无法直接使用闪存芯片 为了提供对现有软件系统的支持, 往往在闪存之上添加一个闪存转换层来实现此目的 固态硬盘就是在闪存上附加了闪存转换层从而提供和磁盘相同的访问接口的存储设备 一方面, 闪存本身具有独特的访问特性 另外一方面, 闪存转换层内置大量的算法来实现闪存和磁盘访问接口之间的转换
More information1. Features. 2,Block diagram. 3. Outline dimension V power supply. 3. Assembled with 20 x 4 character displays
1. Features 1. +5V power supply 2. Communicate over RS-232, 3. Assembled with 20 x 4 character displays 4. Built-in font with provision for up to 8 user defined 5. Easy Text Display Commands for printing
More informationTechnology: Anti-social Networking 科技 : 反社交网络
Technology: Anti-social Networking 科技 : 反社交网络 1 Technology: Anti-social Networking 科技 : 反社交网络 The Growth of Online Communities 社交网络使用的增长 Read the text below and do the activity that follows. 阅读下面的短文, 然后完成练习
More informationAvalonMiner Raspberry Pi Configuration Guide. AvalonMiner 树莓派配置教程 AvalonMiner Raspberry Pi Configuration Guide
AvalonMiner 树莓派配置教程 AvalonMiner Raspberry Pi Configuration Guide 简介 我们通过使用烧录有 AvalonMiner 设备管理程序的树莓派作为控制器 使 用户能够通过控制器中管理程序的图形界面 来同时对多台 AvalonMiner 6.0 或 AvalonMiner 6.01 进行管理和调试 本教程将简要的说明 如何把 AvalonMiner
More informationOxford isolution. 下載及安裝指南 Download and Installation Guide
Oxford isolution 下載及安裝指南 Download and Installation Guide 系統要求 個人電腦 Microsoft Windows 10 (Mobile 除外 ) Microsoft Windows 8 (RT 除外 ) 或 Microsoft Windows 7 (SP1 或更新版本 ) ( 網上下載 : http://eresources.oupchina.com.hk/oxfordisolution/download/index.html)
More informationU-CONTROL UMX610/UMX490/UMX250. The Ultimate Studio in a Box: 61/49/25-Key USB/MIDI Controller Keyboard with Separate USB/Audio Interface
U-CONTROL UMX610/UMX490/UMX250 The Ultimate Studio in a Box: 61/49/25-Key USB/MIDI Controller Keyboard with Separate USB/Audio Interface 2 U-CONTROL UMX610/UMX490/UMX250 快速启动向导 3 其他的重要信息 ¼'' TS 1. 2. 3.
More informationChapter 2. Lexical Elements & Operators
Chapter 2. Lexical Elements & Operators Byoung-Tak Zhang TA: Hanock Kwak Biointelligence Laboratory School of Computer Science and Engineering Seoul National Univertisy http://bi.snu.ac.kr The C System
More informationString Manipulation. Module 6
String Manipulation http://datascience.tntlab.org Module 6 Today s Agenda Best practices for strings in R Code formatting Escaping Formatting Base R string construction Importing strings with stringi Pattern
More informationWindows Batch VS Linux Shell. Jason Zhu
Windows Batch VS Linux Shell Jason Zhu Agenda System and Shell Windows batch and Linux Shell Dos and Linux Shell internal Commands Windows and Linux external commands Batch and Shell variable and special
More informationUNIT - I. Introduction to C Programming. BY A. Vijay Bharath
UNIT - I Introduction to C Programming Introduction to C C was originally developed in the year 1970s by Dennis Ritchie at Bell Laboratories, Inc. C is a general-purpose programming language. It has been
More information三 依赖注入 (dependency injection) 的学习
三 依赖注入 (dependency injection) 的学习 EJB 3.0, 提供了一个简单的和优雅的方法来解藕服务对象和资源 使用 @EJB 注释, 可以将 EJB 存根对象注入到任何 EJB 3.0 容器管理的 POJO 中 如果注释用在一个属性变量上, 容器将会在它被第一次访问之前赋值给它 在 Jboss 下一版本中 @EJB 注释从 javax.annotation 包移到了 javax.ejb
More informationTCL - STRINGS. Boolean value can be represented as 1, yes or true for true and 0, no, or false for false.
http://www.tutorialspoint.com/tcl-tk/tcl_strings.htm TCL - STRINGS Copyright tutorialspoint.com The primitive data-type of Tcl is string and often we can find quotes on Tcl as string only language. These
More informationMore Scripting and Regular Expressions. Todd Kelley CST8207 Todd Kelley 1
More Scripting and Regular Expressions Todd Kelley kelleyt@algonquincollege.com CST8207 Todd Kelley 1 Regular Expression Summary Regular Expression Examples Shell Scripting 2 Do not confuse filename globbing
More informationChapter 7: Deadlocks. Operating System Concepts 9 th Edition
Chapter 7: Deadlocks Silberschatz, Galvin and Gagne 2013 Chapter Objectives To develop a description of deadlocks, which prevent sets of concurrent processes from completing their tasks To present a number
More informationThe l3regex package: regular expressions in TEX
The l3regex package: regular expressions in TEX The L A TEX3 Project Released 2015/12/20 1 l3regex documentation The l3regex package provides regular expression testing, extraction of submatches, splitting,
More informationUNIX / LINUX - REGULAR EXPRESSIONS WITH SED
UNIX / LINUX - REGULAR EXPRESSIONS WITH SED http://www.tutorialspoint.com/unix/unix-regular-expressions.htm Copyright tutorialspoint.com Advertisements In this chapter, we will discuss in detail about
More informationPerl Programming. Bioinformatics Perl Programming
Bioinformatics Perl Programming Perl Programming Regular expressions A regular expression is a pattern to be matched against s string. This results in either a failure or success. You may wish to go beyond
More informationConcepts Introduced in Chapter 3. Lexical Analysis. Lexical Analysis Terms. Attributes for Tokens
Concepts Introduced in Chapter 3 Lexical Analysis Regular Expressions (REs) Nondeterministic Finite Automata (NFA) Converting an RE to an NFA Deterministic Finite Automatic (DFA) Lexical Analysis Why separate
More informationVersion June 2017
Version 2.7.0 19 June 2017 Published by Just Great Software Co. Ltd. Copyright 2009 2017 Jan Goyvaerts. All rights reserved. RegexMagic and Just Great Software are trademarks of Jan Goyvaerts i Table of
More information最短路径算法 Dijkstra 一 图的邻接表存储结构及实现 ( 回顾 ) 1. 头文件 graph.h. // Graph.h: interface for the Graph class. #if!defined(afx_graph_h C891E2F0_794B_4ADD_8772_55BA3
最短路径算法 Dijkstra 一 图的邻接表存储结构及实现 ( 回顾 ) 1. 头文件 graph.h // Graph.h: interface for the Graph class. #if!defined(afx_graph_h C891E2F0_794B_4ADD_8772_55BA3 67C823E INCLUDED_) #define AFX_GRAPH_H C891E2F0_794B_4ADD_8772_55BA367C823E
More informationDECLARATIONS. Character Set, Keywords, Identifiers, Constants, Variables. Designed by Parul Khurana, LIECA.
DECLARATIONS Character Set, Keywords, Identifiers, Constants, Variables Character Set C uses the uppercase letters A to Z. C uses the lowercase letters a to z. C uses digits 0 to 9. C uses certain Special
More informationdisplay portal server display portal user display portal user count display portal web-server
目录 1 Portal 1-1 1.1 Portal 配置命令 1-1 1.1.1 aaa-fail nobinding enable 1-1 1.1.2 aging-time 1-1 1.1.3 app-id (Facebook authentication server view) 1-2 1.1.4 app-id (QQ authentication server view) 1-3 1.1.5
More informationTypescript on LLVM Language Reference Manual
Typescript on LLVM Language Reference Manual Ratheet Pandya UNI: rp2707 COMS 4115 H01 (CVN) 1. Introduction 2. Lexical Conventions 2.1 Tokens 2.2 Comments 2.3 Identifiers 2.4 Reserved Keywords 2.5 String
More informationX Language Definition
X Language Definition David May: November 1, 2016 The X Language X is a simple sequential programming language. It is easy to compile and an X compiler written in X is available to simplify porting between
More informationEpetra_Matrix. August 14, Department of Science and Engineering Computing School of Mathematics School Peking University
_Matrix Department of Science and Engineering Computing School of Mathematics School Peking University August 14, 2007 _Matrix Department of Science and Engineering Computing School of Mathematics School
More informationCST Lab #5. Student Name: Student Number: Lab section:
CST8177 - Lab #5 Student Name: Student Number: Lab section: Working with Regular Expressions (aka regex or RE) In-Lab Demo - List all the non-user accounts in /etc/passwd that use /sbin as their home directory.
More information计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法. 授课老师 : 王浩宇
计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法 授课老师 : 王浩宇 haoyuwang@bupt.edu.cn 1 Today: Bits, Bytes, and Integers Representing information as bits Bit-level manipulations Integers Representation: unsigned
More informationNyearBluetoothPrint SDK. Development Document--Android
NyearBluetoothPrint SDK Development Document--Android (v0.98) 2018/09/03 --Continuous update-- I Catalogue 1. Introduction:... 3 2. Relevant knowledge... 4 3. Direction for use... 4 3.1 SDK Import... 4
More informationRegexs with DFA and Parse Trees. CS230 Tutorial 11
Regexs with DFA and Parse Trees CS230 Tutorial 11 Regular Expressions (Regex) This way of representing regular languages using metacharacters. Here are some of the most important ones to know: -- OR example:
More informationH3C CAS 虚拟机支持的操作系统列表. Copyright 2016 杭州华三通信技术有限公司版权所有, 保留一切权利 非经本公司书面许可, 任何单位和个人不得擅自摘抄 复制本文档内容的部分或全部, 并不得以任何形式传播 本文档中的信息可能变动, 恕不另行通知
H3C CAS 虚拟机支持的操作系统列表 Copyright 2016 杭州华三通信技术有限公司版权所有, 保留一切权利 非经本公司书面许可, 任何单位和个人不得擅自摘抄 复制本文档内容的部分或全部, 并不得以任何形式传播 本文档中的信息可能变动, 恕不另行通知 目录 1 Windows 1 2 Linux 1 2.1 CentOS 1 2.2 Fedora 2 2.3 RedHat Enterprise
More informationOriented Scene Text Detection Revisited. Xiang Bai Huazhong University of Science and Technology
The Invited Talk in Vision and Learning Seminar (VALSE) Xiamen, 2017-4-22 Oriented Scene Text Detection Revisited Xiang Bai Huazhong University of Science and Technology xbai@hust.edu.cn http://mclab.eic.hust.edu.cn/~xbai/
More informationIntroduction to regular expressions
Introduction to regular expressions Table of Contents Introduction to regular expressions Here's how we do it Iteration 1: skill level > Wollowitz Iteration 2: skill level > Rakesh Introduction to regular
More informationRegular Expressions. Perl PCRE POSIX.NET Python Java
ModSecurity rules rely heavily on regular expressions to allow you to specify when a rule should or shouldn't match. This appendix teaches you the basics of regular expressions so that you can better make
More informationITP 342 Mobile App Dev. Strings
ITP 342 Mobile App Dev Strings Strings You can include predefined String values within your code as string literals. A string literal is a sequence of characters surrounded by double quotation marks (").
More informationPackaging 10Apr2012 Rev V Specification MBXL HSG 1. PURPOSE 目的 2. APPLICABLE PRODUCT 适用范围
107-68703 Packaging 10Apr2012 Rev V Specification MBXL HSG 1. PURPOSE 目的 Define the packaging specifiction and packaging method of MBXL HSG. 订定 MBXL HSG 产品之包装规格及包装方式 2. APPLICABLE PRODUCT 适用范围 PKG TYPE
More informationRegular Expressions Explained
Found at: http://publish.ez.no/article/articleprint/11/ Regular Expressions Explained Author: Jan Borsodi Publishing date: 30.10.2000 18:02 This article will give you an introduction to the world of regular
More informationChapter 11 SHANDONG UNIVERSITY 1
Chapter 11 File System Implementation ti SHANDONG UNIVERSITY 1 Contents File-System Structure File-System Implementation Directory Implementation Allocation Methods Free-Space Management Efficiency and
More informationITC213: STRUCTURED PROGRAMMING. Bhaskar Shrestha National College of Computer Studies Tribhuvan University
ITC213: STRUCTURED PROGRAMMING Bhaskar Shrestha National College of Computer Studies Tribhuvan University Lecture 07: Data Input and Output Readings: Chapter 4 Input /Output Operations A program needs
More informationTriangle - Delaunay Triangulator
Triangle - Delaunay Triangulator eryar@163.com Abstract. Triangle is a 2D quality mesh generator and Delaunay triangulator. Triangle was created as part of the Quake project in the school of Computer Science
More informationTwin API Guide. How to use Twin
Twin API Guide How to use Twin 1 目錄 一 Cycle Job------------------------------------------------------------------------------------P3 二 Twin Action Table-----------------------------------------------------------------------P4-5
More informationDr. Sarah Abraham University of Texas at Austin Computer Science Department. Regular Expressions. Elements of Graphics CS324e Spring 2017
Dr. Sarah Abraham University of Texas at Austin Computer Science Department Regular Expressions Elements of Graphics CS324e Spring 2017 What are Regular Expressions? Describe a set of strings based on
More informationJFlex Regular Expressions
JFlex Regular Expressions Lecture 17 Section 3.5, JFlex Manual Robb T. Koether Hampden-Sydney College Wed, Feb 25, 2015 Robb T. Koether (Hampden-Sydney College) JFlex Regular Expressions Wed, Feb 25, 2015
More information