Käynnissä

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, string match, regular expression starts, questions programming languages, programming expression, line programming languages, match string, goal programming example, goal programming, expression programming, example regular expression, escrow fr, regular expression example, regular, joseph, expression, line clone, perl string match, project infinity, match programming, string expression, perl run javascript, stop javascript, goal setting, perl script limit

About the Employer:
( 1 review )

Projektin tunnus: #1756439