1 / 5
文档名称:

正则表达式定义Regularexpressiondefinition.doc

格式:doc   大小:83KB   页数:5页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

正则表达式定义Regularexpressiondefinition.doc

上传人:蓝天 2022/6/4 文件大小:83 KB

下载得到文件列表

正则表达式定义Regularexpressiondefinition.doc

相关文档

文档介绍

文档介绍:正贝!l表达式定义(Regular expression definition) 3. regular expression definition
Regular expressions (regular expression) descaracter description
$matches the end of the input string. If the Multiline property of the RegExp object is set, then $matches' \n' or' \r' . To match the $character itself, please use the \ $,
(mark) the start and end positions of a child expression. Sub expressions can be obtained for later use. To match these characters, use \ \ (and \ \).
* matches the previous sub expression zero or more times. To use the character, *.
+ matches the previous sub expression one or more times. To match the + character, please use the \ + acts.
Matches any single character except the newline character \n. To match. Use \ \ \.
[marks the beginning of a bracket expression. Please use the \[[to match.
Matches the previous sub expression zero or twice, or indicates a non greedy qualifier. To match characters, use \ \?.
Mark the next character as either a special character, or a literal character, or a backward reference, or an octal escape character. For example, the' n' matches the character' n'.
, \n,matches newline characters. Sequence matching, and \ \ \ ''\ (match ”(”.
Matches the start position of the input string unless it is used in the square bracket expression. At this point it indicates that the collection of characters is not accepted. To match the ' charac