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 条
  • [1] Simplifying Regular Expressions A Quantitative Perspective
    Gruber, Hermann
    Gulan, Stefan
    LANGUAGE AND AUTOMATA THEORY AND APPLICATIONS, 2010, 6031 : 285 - +
  • [2] Simplifying XML Schema: Effortless Handling of Nondeterministic Regular Expressions
    Bex, Geert Jan
    Gelade, Wouter
    Martens, Wim
    Neven, Frank
    ACM SIGMOD/PODS 2009 CONFERENCE, 2009, : 731 - 743
  • [3] Android Digital Forensics - Simplifying Android Forensics Using Regular Expressions
    Jeyamohan, Neera
    2017 17TH INTERNATIONAL CONFERENCE ON ADVANCES IN ICT FOR EMERGING REGIONS (ICTER) - 2017, 2017, : 348 - 348
  • [4] GENERATION OF REGULAR EXPRESSIONS FOR AUTOMATA BY INTEGRAL OF REGULAR EXPRESSIONS
    SMITH, LW
    YAU, SS
    COMPUTER JOURNAL, 1972, 15 (03): : 222 - &
  • [5] Regular expressions
    Becker, P
    DR DOBBS JOURNAL, 2006, 31 (05): : 52 - +
  • [6] Regular expressions
    LeFebvre, William
    Performance Computing/Unix Review, 1999, 17 (11): : 49 - 51
  • [7] Regular expressions
    Scientific Computing and Instrumentation, 2000, 17 (08):
  • [8] ShExStatements: Simplifying Shape Expressions for Wikidata
    Samuel, John
    WEB CONFERENCE 2021: COMPANION OF THE WORLD WIDE WEB CONFERENCE (WWW 2021), 2021, : 610 - 615
  • [9] Simplifying Probabilistic Expressions in Causal Inference
    Tikka, Santtu
    Karvanen, Juha
    JOURNAL OF MACHINE LEARNING RESEARCH, 2017, 18
  • [10] SIMPLIFYING LARGE ALGEBRAIC EXPRESSIONS BY COMPUTER
    BRENNER, RL
    ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 1984, 188 (AUG): : 32 - COMP