Dynamic Regex Generation Library (Python 2.7)
- or -
Post a project like this1736
€285(approx. $306)
- Posted:
- Proposals: 5
- Remote
- #2455438
- OPPORTUNITY
- Awarded
Description
Experience Level: Expert
Estimated project duration: 1 - 2 weeks
I need a python library that will accept a list of strings as input and output the most efficient regular expressions to match those.
Input:
list of strings
(optional) percentage of matching entries (default 100)
Output:
Regular expression that matches all strings in the list or the inputted percentage of the list of strings the most efficient way (as string)
I wrote "most efficient" because I really don't need a library doing the output ".*". The idea is to efficiently check for similarities in strings and combine them into regex parts where necessary.
For example: If all strings start with "Hello", the most efficient regex starts with "Hello" as well.
Input:
list of strings
(optional) percentage of matching entries (default 100)
Output:
Regular expression that matches all strings in the list or the inputted percentage of the list of strings the most efficient way (as string)
I wrote "most efficient" because I really don't need a library doing the output ".*". The idea is to efficiently check for similarities in strings and combine them into regex parts where necessary.
For example: If all strings start with "Hello", the most efficient regex starts with "Hello" as well.
Jan W.
94% (14)Projects Completed
19
Freelancers worked with
18
Projects awarded
72%
Last project
12 Aug 2019
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Hey, how much time you can provide for this task. This will be sort of RnD task so not sure about the time in which this can be completed.
Thanks
826470
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies