2021, Vol. 2, Issue 2, Part A
Regular expressions: A detailed study for the understanding of their role and methods for efficient application
Author(s): Soham Mitra
Abstract: Regular expressions (also known as "regex") are widely utilized for many practical applications and purposes, both in construction of Finite Automata and in programming languages. They are the constructs used to develop and build efficient systems of “Regular Languages”; however, they are fundamentally difficult to understand and re-use, resulting from a lack of abstraction methods, which inevitably causes Regular Expressions to grow very large in a short span of procedures. There are numerous regular expressions that are present through resources for the same problem going around, numerous of which usually are incorrect, resulting in it being harder to locate and utilize the appropriate regular expression for a given problem statement. Due to regular expressions being used widely in a variety of fields, low understandability and subsequently usability has become a critical software engineering issue. We will be discussing how Regular Expressions are indispensable in language engineering as well as in software engineering. We will cover how Regular Expressions provide a framework for construction of most “Regular Languages” which is one of its primary uses. We will be proposing a number of complementary representations not dependent on any other representation that might be used to explain regular expressions in this study. We also will be giving methods for computing those representations, as well as examples of how these approaches and the resulting explanations might be used in various contexts. Some of the representations aid in identification of errors in regular expressions, in addition to simplifying understanding . Our examination reveals that our methods are broadly applicable and, as a result, can have a major impact on software engineering practice and applications. We thus establish how Regular Expressions come into play in theoretical as well as application-based studies and establish methods to reduce errors in usage of Regular Expressions.
Pages: 71-76 | Views: 871 | Downloads: 503
Download Full Article: Click Here
How to cite this article:
Soham Mitra. Regular expressions: A detailed study for the understanding of their role and methods for efficient application. Int J Res Circuits Devices Syst 2021;2(2):71-76.