术语中英文对照表
中文 | 英文 |
---|---|
正则表达式 | regular expressions |
字符组 | character classes |
反义字符组 | negated character classes |
范围表达式法 | range expressions |
元字符 | metacharacters |
通配符 | wildcard character |
换行符 | newline charactor |
回车符 | carriage return character |
水平制表符 | tab character |
垂直制表符 | vertical tab charecter |
换页符 | form feed character |
空白符 | whitespace |
段终止符 | paragraph terminator |
行终止符 | line terminator |
单词字符 | word characters |
非单词字符 | non-word characters |
数字字符 | digits |
非数字字符 | non-digits |
字母数字字符 | alphanumeric characters |
量词 | quantifiers |
贪婪量词 | greedy quantifiers |
惰性量词 | lazy quantifiers |
位置 | positions |
锚 | anchors |
行开头 | beginning of a line |
行结尾 | end of a line |
单词边界 | word boundaries |
非单词边界 | non-word boundaries |
向前查找 | lookahead |
正向向前查找 | positive lookahead |
负向向前查找 | negative lookahead |
向后查找 | lookbehind |
正向向后查找 | positive lookbehind |
负向向后查找 | negative lookbehind |
分组 | groups |
捕获分组 | capturing groups |
非捕获分组 | non-capturing groups |
分支结构 | alternations |
反向引用 | back references |
回溯 | backtracks |
运算符 | operators |
优先级 | priority level |
修饰符 | flags |
全局匹配修饰符 | global flag |
忽略大小写修饰符 | ingnoreCase flag |
多行匹配修饰符 | multiline flag |