Current Trends in Information Technology

Rule based Normalization of Regular Expression

  1. Jitender Khedar ✉
  2. Ajay Loura

Abstract

The regular expression is a specific pattern that provides the concise and flexible way to match strings of text. It is useful in the data validation, internet search engine, production of the syntax highlighting system, extract a substring from a string, etc. In this paper, the concept of un-normalized and normalized regular expression is discussed.  An un-normalized regular expression(r) can be converted into normalized regular expression (r') having the property lr'l < lrl. A methodology has been proposed for the conversion of an un-normalized regular expression to normalized regular expression. The proposed methodology has been implemented in the Java language. Keywords: Methodology, regular expression, Java language

References (9)

  1. P. Linz, An Introduction to formal Languages and Automata , New Delhi: Narosa Publication House 2003.
  2. Oracle, “The Java Tutorials,” [Online]. Available at http://docs.oracle.com/javase/ tutorial/essential/regex/intro.html. [Accessed 20 January 2013].
  3. Oracle, “The Java Tutorials,” [Online]. Available at http://docs.oracle.com/javase/ tutorial/essential/regex/test_harness.html. [Accessed 20 January 2013].
  4. M. Almeida, N. Moreira and R. Reis, “Testing the equivalence of regular expressions,” DCC-FC & LIACC, Universidade do Porto, vol. 1.1, no. DCC- 2007-07, 2007.
  5. H. Chan, “Finite Automata of Expressions in the Case of star normal form and one Un-ambiguity,” State key Laboratry of Computer science, Institute of software, no. ISCAS-LCS-10-11, June 2010.
  6. H. Gruber, J. Lee and J. Shallit, “Enumerating Regular expressio ns and their language,” Mathematics Subject Classification , no. 68Q45, 2010.
  7. J. Champarnaud, F. Ouardi and D. Ziadi, “Normalized Expressions and Finite Automata,” LITIS, University of Rouen, 76000 Saint-Etienne du Rouvray France .
  8. G. Jiraskova and T. Maso pust, “Complexity in union -free Regular Languages,” Interntional Journal of foundations of computer science, no. 68Q45, 68Q19, 2011.
  9. M. Sipser, Introduction To The Theory Of Computation, Boston, Massachusetts: Thomson Course Technology 2006.

Read more of it

Subscribe to one journal or build your own list of several. One invoice, one payment, access for a full year.

Subscribe to journals →

Publish your article

Peer-reviewed journals across every subject, with open access options. Send your manuscript to the right editor today.

Publish with us → Calculate your APC
Support