Regular Expression: (regex or regexp) is a sequence of characters that forms a search pattern,mainly for use in pattern matching with strings,or string matching. (From wiki)
Lists of a particular category of characters,operators and constructs that can be used to define regular expressions:
Character Escapes:
Character Classes: matches any one of a set of characters.
Anchors: cause a match to succeed or fail depending on the current position in the string.
Grouping Constructs
Quantifiers:
Backreference Constructs: allows a previously matched subexperession to be identified subsequently in the same regular expression.
Alternation Constructs: Modify a regular expression to enable either/or matching.
Substitutions: are regular expression language elements that are supported in replacement patterns.
Regular Expression Options:
Miscellaneous Constructs:
References:http://msdn.microsoft.com/en-us/library/az24scfc(v=vs.110).aspx
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。