Published August 1, 2019 | Version v1
Journal article Open

A regexcriteria api to complete the power of regular expressions engine

  • 1. Faculty of Sciences Ben M'SIK

Description

Regular expressions are heavily used in the field of computer programming. They are known by their strength to search or replace parts of strings according to a given structure (mails, phone, numbers, etc.). Currently regular expressions are only used to search for some patterns or to make some substitutions in strings. However, the need may be wider than that when it comes to order the results of a regular expression or to group them according to some criteria. Developers are always called to analyze the results of a regular expression by doing some restrictions such as (equal, not equal, between) or some projections like (maximum, average, grouping by) or sorts. Unfortunately, to do these treatments, the developer must implement his own algorithms which cost him a remarkable effort and a waste of time. We propose in this paper an API called Regex Criteria inspired from Hibernate Criteria to support developer while analyzing the results of a regular expression.

Files

46 4Apr19 21Mar19 21Aug18 15152__EditAmir.pdf

Files (570.1 kB)

Name Size Download all
md5:af320c48e06c2febe540e1ac41bde768
570.1 kB Preview Download