Application of Regular Grammar in the Syntactic Analysis of Email Addresses

Context: This article proposes the use of regular grammar as a strategy to validate the textual structures of emails. It focuses on the RFC 5321 standard and its syntax, formalizing regular grammars to apply production rules with the aim of validating the syntactic context of each structure of an em...

Full description

Bibliographic Details
Main Authors: Cristian Alejandro Fandiño-Mesa, Marco Javier Suárez-Barón, César Augusto Jaramillo-Acevedo
Format: Article
Language:Spanish
Published: Universidad Distrital Francisco José de Caldas 2023-10-01
Series:Ingeniería
Subjects:
Online Access:https://revistas.udistrital.edu.co/index.php/reving/article/view/20626
_version_ 1797384572511453184
author Cristian Alejandro Fandiño-Mesa
Marco Javier Suárez-Barón
César Augusto Jaramillo-Acevedo
author_facet Cristian Alejandro Fandiño-Mesa
Marco Javier Suárez-Barón
César Augusto Jaramillo-Acevedo
author_sort Cristian Alejandro Fandiño-Mesa
collection DOAJ
description Context: This article proposes the use of regular grammar as a strategy to validate the textual structures of emails. It focuses on the RFC 5321 standard and its syntax, formalizing regular grammars to apply production rules with the aim of validating the syntactic context of each structure of an email address. Method: This article presents a literature review and the development of an email validation model. Related texts focus on the Internet Protocol, along with building automata that apply IPV4 protocol. There are three phases: the development of the model from syntax and regular grammar rules and its construction and application. Results: The result is a functional application that validates email addresses based on regular grammars and existing regulations. When running efficiency tests, our application obtained a higher email validation margin in comparison with JFLAP. The library can work as a great analyzer of grammatical or lexical structures. Conclusions: The email validation tool based on GR regular grammars contributes to the practical use of specialized algorithms in the field of computer science, since it is possible to apply it to the recognition of search patterns such as the analysis of lexical structures (e.g., NITs, alphanumeric codes, and valid URLs).
first_indexed 2024-03-08T21:37:33Z
format Article
id doaj.art-d1c66de7cc5c4d84b5b3310c80386418
institution Directory Open Access Journal
issn 0121-750X
2344-8393
language Spanish
last_indexed 2024-03-08T21:37:33Z
publishDate 2023-10-01
publisher Universidad Distrital Francisco José de Caldas
record_format Article
series Ingeniería
spelling doaj.art-d1c66de7cc5c4d84b5b3310c803864182023-12-20T17:56:32ZspaUniversidad Distrital Francisco José de CaldasIngeniería0121-750X2344-83932023-10-01283e20626e2062610.14483/23448393.2062619433Application of Regular Grammar in the Syntactic Analysis of Email AddressesCristian Alejandro Fandiño-Mesa0https://orcid.org/0009-0007-0710-0353Marco Javier Suárez-Barón1https://orcid.org/0000-0003-1656-4452César Augusto Jaramillo-Acevedo2https://orcid.org/0000-0002-5946-5262Pedagogical and Technological University of Colombia Pedagogical and Technological University of Colombia Technological University of Pereira Context: This article proposes the use of regular grammar as a strategy to validate the textual structures of emails. It focuses on the RFC 5321 standard and its syntax, formalizing regular grammars to apply production rules with the aim of validating the syntactic context of each structure of an email address. Method: This article presents a literature review and the development of an email validation model. Related texts focus on the Internet Protocol, along with building automata that apply IPV4 protocol. There are three phases: the development of the model from syntax and regular grammar rules and its construction and application. Results: The result is a functional application that validates email addresses based on regular grammars and existing regulations. When running efficiency tests, our application obtained a higher email validation margin in comparison with JFLAP. The library can work as a great analyzer of grammatical or lexical structures. Conclusions: The email validation tool based on GR regular grammars contributes to the practical use of specialized algorithms in the field of computer science, since it is possible to apply it to the recognition of search patterns such as the analysis of lexical structures (e.g., NITs, alphanumeric codes, and valid URLs).https://revistas.udistrital.edu.co/index.php/reving/article/view/20626email validationformal grammarregular expressions
spellingShingle Cristian Alejandro Fandiño-Mesa
Marco Javier Suárez-Barón
César Augusto Jaramillo-Acevedo
Application of Regular Grammar in the Syntactic Analysis of Email Addresses
Ingeniería
email validation
formal grammar
regular expressions
title Application of Regular Grammar in the Syntactic Analysis of Email Addresses
title_full Application of Regular Grammar in the Syntactic Analysis of Email Addresses
title_fullStr Application of Regular Grammar in the Syntactic Analysis of Email Addresses
title_full_unstemmed Application of Regular Grammar in the Syntactic Analysis of Email Addresses
title_short Application of Regular Grammar in the Syntactic Analysis of Email Addresses
title_sort application of regular grammar in the syntactic analysis of email addresses
topic email validation
formal grammar
regular expressions
url https://revistas.udistrital.edu.co/index.php/reving/article/view/20626
work_keys_str_mv AT cristianalejandrofandinomesa applicationofregulargrammarinthesyntacticanalysisofemailaddresses
AT marcojaviersuarezbaron applicationofregulargrammarinthesyntacticanalysisofemailaddresses
AT cesaraugustojaramilloacevedo applicationofregulargrammarinthesyntacticanalysisofemailaddresses