topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 19, 2024, 11:02 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: a little regexp engine  (Read 3881 times)

nasciiboy

  • Member
  • Joined in 2016
  • **
  • Posts: 5
    • View Profile
    • Donate to Member
a little regexp engine
« on: December 09, 2016, 11:02 AM »
(google translate)
*Recurseve Regexp Raptor* is a library search, capture and replacement Regular expressions written in C language from zero, trying to achieve what following:

- Having most of the features present in any other regexp library.

- Elegant Code: simple, clear and endowed with grace.

- Avoid explicit request dynamic memory.

- Avoid using any external libraries, including the standard library.

- Be a useful learning material.

this library the first (Currently under development in https://github.com/n...ecursiveRegexpRaptor) focuses on simplicity and code. Only use *510 lines* of pure C. enjoy!

to test the ascii library

    gcc ascii_test.c regexp3_ascii.c

to the ut8 vercion

    gcc ascii_test.c regexp3_utf8.c

to view the benchmark confortably see readme.html.
« Last Edit: December 09, 2016, 11:13 AM by nasciiboy »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: a little regexp engine
« Reply #1 on: December 09, 2016, 11:16 AM »
That's pretty cool!

nasciiboy

  • Member
  • Joined in 2016
  • **
  • Posts: 5
    • View Profile
    • Donate to Member
Re: a little regexp engine
« Reply #2 on: December 09, 2016, 02:59 PM »
I hope to participate in n.a.n.y. In a few days with a development based on this library

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: a little regexp engine
« Reply #3 on: December 09, 2016, 04:58 PM »
Awesome  :up: :up: