Find Jobs
Hire Freelancers

Tips wanted on regular expression engine implementation

$30-5000 USD

Κλειστή
Αναρτήθηκε περίπου 21 χρόνια πριν

$30-5000 USD

Πληρωμή κατά την παράδοση
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.
Ταυτότητα εργασίας: 2936348

Σχετικά με την εργασία

Απομακρυσμένη Εργασία
Ενεργός/ή 21 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν

Σχετικά με τον πελάτη

Σημαία της AUSTRALIA
Australia
0,0
0
Μέλος από Μαΐ 15, 2003

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.