flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
rugxulo 07 Apr 2019, 19:58
How about Russ Cox's Implementing Regular Expressions? I've not studied this at all, but I vaguely remember that Kernighan had some simple regex code for teaching.
|
|||
![]() |
|
kerr 08 Apr 2019, 14:53
rugxulo wrote: How about Russ Cox's Implementing Regular Expressions? I've not studied this at all, but I vaguely remember that Kernighan had some simple regex code for teaching. I've seen this before. _________________ I hope we will be good friends. |
|||
![]() |
|
pelaillo 09 Apr 2019, 18:19
The lua pattern matching is a subset of a regular expression parser and is a lot simpler.
Just download the lua source and open the file src/lstrlib.c. The functions for pattern matching are all grouped together. It is easy to understand and well commented. Once you grasp the general idea, you are ready to move onto PCRE sources. |
|||
![]() |
|
kerr 11 Apr 2019, 05:26
pelaillo wrote: The lua pattern matching is a subset of a regular expression parser and is a lot simpler. thank you , but i think i need JavaScript Regexp grammar. _________________ I hope we will be good friends. |
|||
![]() |
|
pelaillo 11 Apr 2019, 13:01
Javascript Regexp grammar is like PCRE so all the complexity is back.
Mozilla implementation is in C++: SpiderMonkey |
|||
![]() |
|
kerr 12 Apr 2019, 06:07
pelaillo wrote: Javascript Regexp grammar is like PCRE so all the complexity is back. Yes , So I want to make a small Regexp for C language text processing. "Spidermokey" Not suitable for C language . _________________ I hope we will be good friends. |
|||
![]() |
|
pelaillo 14 Apr 2019, 18:53
So, this is what you need: https://github.com/kokke/tiny-regex-c/blob/master/re.c
|
|||
![]() |
|
kerr 18 Apr 2019, 06:26
pelaillo wrote: So, this is what you need: https://github.com/kokke/tiny-regex-c/blob/master/re.c thank you ! I aiso have a copy of this document , but i don't know how to use error reporting in C language warning: unknown escape sequence: '\w' _________________ I hope we will be good friends. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.