Simplifying regular expressions further

被引:0
|
作者
Kahrs, Stefan [1 ]
Runciman, Colin [2 ]
机构
[1] Univ Kent, Sch Comp, Canterbury CT2 7NF, Kent, England
[2] Univ York, Dept Comp Sci, York YO10 5GH, N Yorkshire, England
关键词
Regular expression; Algebraic simplification; Semantic simplification; UNIFORM RANDOM GENERATION; DERIVATIVES;
D O I
10.1016/j.jsc.2021.08.003
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We describe a cumulative series of transformations to simplify regular expressions, and investigate their effectiveness and cost. Transformations depending on increasingly powerful comparisons of expressions give results clearly superior to commonly used algebraic simplifications. Early in the series, efficient transformations enabled by language-invariant attributes are surprisingly effective. Later in the series, transformations depending on comparisons of expressed languages are made feasible by bounding the size of subexpressions to which they are applied. We set out the principles of our transformations, address some key implementation issues, and evaluate the results of systematic test measurements. Crown Copyright (C) 2021 Published by Elsevier Ltd. All rights reserved.
引用
收藏
页码:124 / 143
页数:20
相关论文
共 50 条
  • [31] Intersection of -ω-Regular Expressions
    A. N. Chebotarev
    Cybernetics and Systems Analysis, 2021, 57 : 676 - 684
  • [32] On a generalization of regular expressions
    Gomozov, AL
    Stanevichene, LI
    PROGRAMMING AND COMPUTER SOFTWARE, 2000, 26 (05) : 258 - 267
  • [33] On Extended Regular Expressions
    Carle, Benjamin
    Narendran, Paliath
    LANGUAGE AND AUTOMATA THEORY AND APPLICATIONS, 2009, 5457 : 279 - 289
  • [34] Regular expressions of conditions
    Popa, Emil Marin
    3RD INT CONF ON CYBERNETICS AND INFORMATION TECHNOLOGIES, SYSTEMS, AND APPLICAT/4TH INT CONF ON COMPUTING, COMMUNICATIONS AND CONTROL TECHNOLOGIES, VOL 3, 2006, : 174 - 176
  • [35] Regular Expressions with Lookahead
    Berglund, Martin
    van Der Merwe, Brink
    van Litsenborgh, Steyn
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2021, 27 (04) : 324 - 340
  • [36] Probabilistic ω-Regular Expressions
    Weidner, Thomas
    LANGUAGE AND AUTOMATA THEORY AND APPLICATIONS (LATA 2014), 2014, 8370 : 588 - 600
  • [37] MULTIPOINT ANALYSIS BY SIMPLIFYING GENERAL EXPRESSIONS OF LIKELIHOOD
    CLAYTON, J
    ROTH, MP
    MULTIPOINT MAPPING AND LINKAGE BASED UPON AFFECTED PEDIGREE MEMBERS: GENETIC ANALYSIS WORKSHOP 6, 1989, 329 : 11 - 15
  • [38] Rewriting of regular expressions and regular path queries
    Calvanese, D
    De Giacomo, G
    Lenzerini, M
    Vardi, MY
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2002, 64 (03) : 443 - 465
  • [39] Regular binoid expressions and regular binoid languages
    Hashiguchi, K
    Wada, Y
    Jimbo, S
    THEORETICAL COMPUTER SCIENCE, 2003, 304 (1-3) : 291 - 313
  • [40] Simplifying algebraic expressions: Teacher awareness and teaching approaches
    Tirosh D.
    Even R.
    Robinson N.
    Educational Studies in Mathematics, 1998, 35 (1) : 51 - 64