http://commandcenter.blogspot.ca/2011/08/regular-expressions-in-lexing-and.html
I can’t seem to find another blog post talking about it (I thought it was Rob Pike who wrote it), but regular expressions are the wrong choice for lexers. I used to be so dependent on regular expressions until I found out how much easier it is to write it by hand. -Daniel On Mar 27, 2014, at 4:41 AM, Stephane Wirtel <steph...@wirtel.be> wrote: > Thanks for your feedback, I was looking for a re lib with named group because > I wanted to implement a minimalist lexer. > > I think I will implement my own lexer by hand without the regex. > > Thanks > >> On 27 mars 2014, at 10:47 AM, Corey Richardson <co...@octayn.net> wrote: >> >> There is a ton of discussion on https://github.com/mozilla/rust/issues/3591 >> >>> On Thu, Mar 27, 2014 at 4:29 AM, Daniel Fath <daniel.fa...@gmail.com> wrote: >>> Hi Stephane, >>> >>> I think there are few libraries, but I'm unsure how complete they are, >>> searching Github for Rust regex yields all possible candidates. >>> >>> Here is the one that seems the most recent >>> https://github.com/ferristseng/regex-rust >>> >>> Sincerely, >>> Daniel >>> >>> >>>> On Thu, Mar 27, 2014 at 8:58 AM, Stephane Wirtel <steph...@wirtel.be> >>>> wrote: >>>> >>>> Hi all, >>>> >>>> Do you know a lib for the regular expressions? >>>> >>>> Thank you >>>> >>>> Stephane >>>> _______________________________________________ >>>> Rust-dev mailing list >>>> Rust-dev@mozilla.org >>>> https://mail.mozilla.org/listinfo/rust-dev >>> >>> >>> >>> _______________________________________________ >>> Rust-dev mailing list >>> Rust-dev@mozilla.org >>> https://mail.mozilla.org/listinfo/rust-dev >> >> >> >> -- >> http://octayn.net/ > _______________________________________________ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev