5569 Regular Expression Expander

What I want is almost (not exactly) a clone of [url removed, login to view] but done in a language that can run at much faster speeds than Javascript. Acceptable languages are: VB, C, C++, C#, Perl If you want to do it in another language, contact me before bidding through the PMB. The script on that page takes a regular expression like "[a-e]123[4-6]", and outputs a list like: a1234 a1235 a1236 b1234 b1235 b1236 c1234 c1235 c1236 d1234 d1235 d1236 e1234 e1235 e1236 That list contains EVERY string that the regular expression would match. I like the way it works, but I have a few modifications I want. Firstly, it doesn't work with quantifiers like + or *. I only need it to work with *, but obviously since that can mean there will be between 0 and infinity repitions, it needs a limit. I want to be able to specify a maximum length of the string. For example, I might have a regular expression of "[a-c]*123", and a maximum length of 5. That list would be: 123 a123 b123 c123 aa123 ab123 ac123 ba123 bb123 bc123 ca123 cb123 cc123 It will stop there, because the next match for the regular expression would be greater than 5 characters. My goal is to be able to use a regular expression like: "[a-zA-Z0-9]*w[a-zA-Z0-9]*o[a-zA-Z0-9]*r[a-zA-Z0-9]*d[a-zA-Z0-9]*", setting a maximum length of around 15, and have a large file, with one match per line, created. If you have any questions, please use the PMB. Money will be deposited into escrow as soon as the project starts.

Taidot: .NET, kaikki käy, C-ohjelmointi, Perl, Visual Basic

Näytä lisää: regular expression expander, what is r programming, what is a string in programming, what is a regular expression, w-9 questions, the r programming language, string programming, string match, regular expression starts with, regular expression or example, regular expression no, regular expression in c, regular expression example, regular expression c, regular expression a-za-z0-9, regular expression a-za - z0 - 9, regular expression a, regular expression 0, questions on programming languages, programming language r, programming expression, on line programming languages, match string, list programming languages, goal programming example

About the Employer:
( 1 review )

Projektin tunnus: #1756439