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




Abstract:
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.

CITATION:

IEEE format

M. Tair, “User Defined Named Placeholders for Regular Expression Segments in Complex Regular Expressions,” in Sinteza 2016 - International Scientific Conference on ICT and E-Business Related Research, Belgrade, Singidunum University, Serbia, 2016, pp. 10-14. doi:10.15308/Sinteza-2016-10-14

APA format

Tair, M. (2016). User Defined Named Placeholders for Regular Expression Segments in Complex Regular Expressions. Paper presented at Sinteza 2016 - International Scientific Conference on ICT and E-Business Related Research. doi:10.15308/Sinteza-2016-10-14

BibTeX format
Download

RefWorks Tagged format
Download