skip to main content
10.1145/1274000.1274089acmconferencesArticle/Chapter ViewAbstractPublication PagesgeccoConference Proceedingsconference-collections
Article

Regular expression generation through grammatical evolution

Published:07 July 2007Publication History

ABSTRACT

This study investigates automatic regular expression generation using Grammatical Evolution. The software implementation is based on a subset of POSIX regular expression rules. For fitness calculation, a multiline text file is supplied. Lines which are required to match with generated regular expressions are specified beforehand. Fitness is evaluated according to the successful match results. Using this fitness evaluation strategy, preliminary tests have been performed on different files. Results indicate that the Grammatical Evolution approach to automatic generation of regular expressions is promising.

References

  1. A. E. Eiben and J. E. Smith. Introduction to Evolutionary Computing. Springer, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. J. E. Friedlt. Mastering Regular Expressions. Addison-Wesley Publishing Company, Sebastopol, CA, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. A. Heddad, M. Brameier, and R. M. MacCallum. Evolving regular expression-based sequence classifiers for protein nuclear localisation. In G. R. Raidl, S. Cagnoni, J. Branke, D. W. Corne, R. Drechsler, Y. Jin, C. R. Johnson, P. Machado, E. Marchiori, F. Rothlauf, G. D. Smith, and G. Squillero, editors, Applications of Evolutionary Computing, EvoWorkshops 2004, volume 3005 of LNCS, pages 31--40, Coimbra, Portugal, 5-7 Apr. 2004. Springer Verlag.Google ScholarGoogle Scholar
  4. P. Linz. An Introduction to Formal Languages and Automata. John and Barlett Publishers, Sudbury, Massachusetts, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. M. O'Neill and C. Ryan. Under the hood of grammatical evolution. In W. Banzhaf, J. Daida, A. E. Eiben, M. H. Garzon, V. Honavar, M. Jakiela, and R. E. Smith, editors, Proceedings of the Genetic and Evolutionary Computation Conference, volume 2, pages 1143--1148, Orlando, Florida, USA, 13-17 July 1999. Morgan Kaufmann.Google ScholarGoogle Scholar
  6. M. O'Neill and C. Ryan. Grammatical evolution. IEEE Transactions on Evolutionary Computation, 5(4):349--358, Aug. 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. M. O'Neill and C. Ryan. Grammatical Evolution: Evolutionary Automatic Programming in an Arbitrary Language. Kluwer Academic Publishers Group, Norwell, Massachusetts, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. C. Ryan, J. J. Collins, and M. O Neill. Grammatical evolution: Evolving programs for an arbitrary language. In W. Banzhaf, R. Poli, M. Schoenauer, and T. C. Fogarty, editors, Proceedings of the First European Workshop on Genetic Programming, volume 1391, pages 83--95, Paris, 14-15 1998. Springer-Verlag. Google ScholarGoogle ScholarDigital LibraryDigital Library
  1. Regular expression generation through grammatical evolution

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        GECCO '07: Proceedings of the 9th annual conference companion on Genetic and evolutionary computation
        July 2007
        1450 pages
        ISBN:9781595936981
        DOI:10.1145/1274000

        Copyright © 2007 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 7 July 2007

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • Article

        Acceptance Rates

        Overall Acceptance Rate1,669of4,410submissions,38%

        Upcoming Conference

        GECCO '24
        Genetic and Evolutionary Computation Conference
        July 14 - 18, 2024
        Melbourne , VIC , Australia

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader