Type Inference for Regular Expression Pattern Matching

被引:0
|
作者
Marin, Mircea [1 ]
Craciun, Adrian [2 ]
机构
[1] Univ Tsukuba, Grad Sch Syst & Informat Engn, Tsukuba, Ibaraki 3058573, Japan
[2] West Univ Timisoara, Dept Comp Sci, Timisoara 300223, Romania
关键词
type inference; hedge automata; patterns; XML;
D O I
10.1109/SYNASC.2010.20
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
An important feature of statically typed XML programming languages is the type inference of variables in regular expression patterns, when matching is performed on input of a known type. At least, such an algorithm must be be simple, local, and locally precise. In this paper we investigate the possibility to go beyond local type inference, and propose an algorithm to compute the precise type of the tuple of all variables in a regular expression pattern. Our algorithm relies on notions and algorithms from the factorization theory of regular hedge languages.
引用
收藏
页码:366 / 373
页数:8
相关论文
共 50 条
  • [31] Faster Regular Expression Matching
    Bille, Philip
    Thorup, Mikkel
    AUTOMATA, LANGUAGES AND PROGRAMMING, PT I, 2009, 5555 : 171 - +
  • [32] A novel JSON']JSON based regular expression language for pattern matching in the internet of things
    Rasool, Raihan Ur
    Najam, Maleeha
    Ahmad, Hafiz Farooq
    Wang, Hua
    Anwar, Zahid
    JOURNAL OF AMBIENT INTELLIGENCE AND HUMANIZED COMPUTING, 2019, 10 (04) : 1463 - 1481
  • [33] A Systolic Regular Expression Pattern Matching Engine and its Application to Network Intrusion Detection
    Kawanaka, Yosuke
    Wakabayashi, Shin'ichi
    Nagayama, Shinobu
    PROCEEDINGS OF THE 2008 INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY, 2008, : 297 - 300
  • [34] FREME: A pattern partition based engine for fast and scalable regular expression matching in practice
    Wang, Kai
    Li, Jun
    JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2015, 55 : 154 - 169
  • [35] Extending Graph Pattern Matching with Regular Expressions
    Wang, Xin
    Wang, Yang
    Xu, Yang
    Zhang, Ji
    Zhong, Xueyan
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, DEXA 2020, PT II, 2020, 12392 : 111 - 129
  • [36] State complexity of pattern matching in regular languages
    Brzozowski, Janusz A.
    Davies, Sylvie
    Madan, Abhishek
    THEORETICAL COMPUTER SCIENCE, 2019, 777 : 121 - 131
  • [37] A new regular grammar pattern matching algorithm
    Watson, BW
    THEORETICAL COMPUTER SCIENCE, 2003, 299 (1-3) : 509 - 521
  • [38] Regular biosequence pattern matching with cellular automata
    Laurio, K
    Linåker, F
    Narayanan, A
    INFORMATION SCIENCES, 2002, 146 (1-4) : 89 - 101
  • [39] Fast and compact regular expression matching
    Bille, Philip
    Farach-Colton, Martin
    THEORETICAL COMPUTER SCIENCE, 2008, 409 (03) : 486 - 496
  • [40] From regular expression matching to parsing
    Bille, Philip
    Li Gortz, Inge
    ACTA INFORMATICA, 2022, 59 (06) : 709 - 724