请输入您要查询的字词:

 

单词 regular expression
释义
regular expression

Computer
  • An expression built from finite formal languages (i.e. finite sets of strings) using the operations of union, concatenation, and Kleene star. For example, the following two regular expressions each denote the set of all strings of alternating as and bs:

    {a,Λ}{ba}*{Λ,b}{ba}*{a}{ba}*{ba}*{b}{a}{ba}*{b}
    where Λ‎ is the empty string. A language is regular if and only if it is representable by a regular expression. Thus the class of regular languages is the smallest one that contains all finite languages and is closed under concatenation, union, and star—the so-called regular operations. These three operations correspond to ‘sequence’, ‘choice’, and ‘iteration’ in structured iterative programs.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/12/25 3:02:25