Find Jobs
Hire Freelancers

Tips wanted on regular expression engine implementation

$30-5000 USD

Geschlossen
Veröffentlicht vor etwa 21 Jahren

$30-5000 USD

Bezahlt bei Lieferung
Hello fellow coders, I've been working on implementing a POSIX compliant regular expression matcher for 18 months, and have made some progress (this must be FAST.) I need some tips/second opinions from other programmers on an algorithm (can be pseudocode or simply textual description) of compiling a regular expression pattern into a form of bytecode that can be executed by the matching engine. Specifically: the engine needs to be POSIX compliant, and I want to hear about capturing subexpressions, and parsing the expression ready for compilation. This won't turn into a coding project, since I am only looking for tips/advice for my own coding. Thanks so much for your advice, I really want to make this the best regexp the world has ever seen... :) PS. I have the POSIX docs on the latest regex spec if you'd like to study it. PPS. Study the source code (in Java) of the Apache Jakarta Project's regexp (package [login to view URL] - download Winzip file here: [login to view URL]) and let me know what you think of this recursive-descent technique, and using a plain old array for bytecodes, as opposed to a linked list of opcodes and opdata, for example... ## Deliverables 1) Tips/opinions/advice on implementation of POSIX-compliant regular expression matcher. 2) Outline of functions regcomp and regexec. 3) Bytecode format. 4) Parsing technique. 5) Execution engine - correctly implementing greedy and reluctant (lazy) matching, capturing subexpressions and optimisation advice (i.e. making it FAST!) ## Platform All platforms, i.e. strictly ANSI/ISO C.
Projekt-ID: 2936348

Über das Projekt

Remote Projekt
Aktiv vor 21 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten

Über den Kunden

Flagge von AUSTRALIA
Australia
0,0
0
Mitglied seit Mai 15, 2003

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.