User Defined Named Placeholders for Regular Expression Segments in Complex Regular Expressions

Autori: Milan Tair

Izdanje: Sinteza 2016 - International Scientific Conference on ICT and E-Business Related Research

DOI: 10.15308/Sinteza-2016-10-14

Link: https://doi.org/10.15308/Sinteza-2016-10-14

Apstrakt:
This paper describes an own implementation of a regular expression preprocessor written in PHP. It extends the regular expression functionality by allowing users to define named segments. These segments include custom character classes, matching groups etc. The pre-processor allows for writing complex regular expressions that are simpler to maintain. In addition, this paper presents a use case of the practical utilisation of the pre-processor. Furthermore, it includes a comparison of expressions written with and without user-defined segments.
Ključne reči: regular expressions, user defined segments, php, pre-processor, language extension

Preuzimanje citata:

BibTeX format
@article{article,
  author  = {M. Tair}, 
  title   = {User Defined Named Placeholders for Regular Expression Segments in Complex Regular Expressions},
  journal = {Sinteza 2016 - International Scientific Conference on ICT and E-Business Related Research},
  year    = 2016,
  doi     = {10.15308/Sinteza-2016-10-14}
}
RefWorks Tagged format
RT Conference Proceedings
A1 Milan Tair
T1 User Defined Named Placeholders for Regular Expression Segments in Complex Regular Expressions
AD International Scientific Conference Sinteza, Beograd, Srbija
YR 2016
NO doi: 10.15308/Sinteza-2016-10-14
Unapred formatirani prikaz citata
M. Tair, User Defined Named Placeholders for Regular Expression Segments in Complex Regular Expressions, International Scientific Conference Sinteza, 2016, doi:10.15308/Sinteza-2016-10-14