mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[PR #1241] [MERGED] feat: Add McNaughton–Yamada–Thompson algorithm #1834
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/1241
Author: @CascadingCascade
Created: 3/30/2023
Status: ✅ Merged
Merged: 4/12/2023
Merged by: @Panquesito7
Base:
master← Head:regex📝 Commits (10+)
cedfc70updating DIRECTORY.md7efc40cCreate mcnaughton_yamada_thompson.cc3d32e4updating DIRECTORY.md76e6e1bUpdate mcnaughton_yamada_thompson.cd022e1fMerge branch 'regex' of https://github.com/CascadingCascade/C into regex3afbd28fix some memory leaksfe3368cfix another memory leake2f60ceUpdate mcnaughton_yamada_thompson.c8275f3fadded more test cases97dc7f9a few formatting changes📊 Changes
2 files changed (+723 additions, -0 deletions)
View changed files
📝
DIRECTORY.md(+2 -0)➕
misc/mcnaughton_yamada_thompson.c(+721 -0)📄 Description
Description of Change
Added a NFA regex matcher based on the McNaughton–Yamada–Thompson algorithm
References
Checklist
Notes:
It's been awhile since my last PR, and this is what I've cooked up.😄 I tried my best, but a program this large is bound to have more bugs than what I managed to found, thanks in advance for sifting through ~700 lines of code.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.